CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 1999
    Posts
    1

    batch file calls

    Trying to call a dos batch file from a VB app. Using shell command, the batch file does not run properly and errors out. Any help? Alternately, is there a way to duplicate the "xcopy /s" dos command in VB 5.0. Thanks


  2. #2
    Join Date
    Sep 1999
    Location
    Red Wing, MN USA
    Posts
    312

    Re: batch file calls

    If you want a VB alternative, look into the File System Object.
    It has a CopyFolder Method which will Copy Subdirectories also.

    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]
    Aaron Young
    Senior Programmer Analyst (Red Wing Software)
    Certified AllExperts Expert

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

Featured