Run .bat file from Access Button

G

Guest

Is there a way to run a .bat file that I have stored in a network folder from
a button on an Access Form?

Thanks
--
Billy Rogers

Dallas,TX

Currently Using SQL Server 2000, Office 2000 ,Office 2003 and VS2005
 
G

Guest

Use

Dim I
I = Shell("Enter here Path and bat file name")

Or
Application.FollowHyperlink "Enter here Path and bat file name"
 
G

Guest

Thanks for the help
--
Billy Rogers

Dallas,TX

Currently Using SQL Server 2000, Office 2000 and Office 2003
 
D

Douglas J. Steele

<picky>
Since you're not using I, the value returned by the Shell function, you
could just as easily use

Call Shell("Enter here Path and bat file name")

</picky>
 

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