How do I run a bat file from a Form?

D

DavPet

I have to execute a simple batch file while my Access-2003db is running.
I want to put a button on a form that will do this

Right now the bat file is named c:\temp\update.bat. The only command is
xcopy C:\data\*.* /U

How can I do this with a button on a form?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top