Results 1 to 3 of 3
  1. #1
    Lounger
    Join Date
    Jul 2001
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how to execute *.bat from vb (vb 6)

    hi,
    i have a *.bat to perform task to ftp some files from hard drive winNT.
    wat is the command in vb to call *.bat to execute ?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: how to execute *.bat from vb (vb 6)

    The simplest way is

    Shell "C:Test.bat", vbHide

    (replace the path and file name)

  3. #3
    Lounger
    Join Date
    Jul 2001
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: how to execute *.bat from vb (vb 6)

    thanks alot!!!

Posting Permissions

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