Results 1 to 1 of 1

Thread: invoking a command in VB to run in Cmd prompt

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    1

    invoking a command in VB to run in Cmd prompt

    I have a third party application to FTP files. This application can be run
    through the command prompt with the following syntax :
    "C:\Program Files\TDAccess 2.02.023\TDClient\tdclientc" reset
    "transfer=test".
    When I execute this on the command prompt it works fine.
    My task is to run this through VB.
    I tried shell (cmd /C "C:\Program Files\TDAccess 2.02.023\TDClient\tdclientc" reset "transfer=test")
    Using shell I was unable to do it.
    Is there a way to pass the above syntax to the the command prompt through VB 5.0?

    Please let me know.

    Thanks and Regards,
    Sathya
    Last edited by ansathya; Sep 9th, 2005 at 05:35 AM. Reason: I missed shell command

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width