How to call a bat file

I am designing a program to do a discopy from one drive to another of same size.  I feel the file manipulation within VB would be time comsuming.  I am thinking on the line of a bat file for discopy command from dos to achieve this task. I am  not sure how to call a bat file through VB.  Your help would be appreciated.  If you know of a book that would be helpful please give the title and I will reference it.  

Thank you for your time.
WrathorneAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TorusCommented:
you can call shell to copy the file.


call shell("copy <source> <destination>", vbNormalFocus) to achieve same
purpose

you can use xcopy or diskcopy also by calling shell.



0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TorusCommented:
you can also use shell to run your bat file also

call shell("YourbatFile.bat", vbNormalFocus)
0
CatiCommented:
Better than Shell we have the all time usefull API shellexecute
0
WrathorneAuthor Commented:
Adjusted points to 400
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.