Run .bat file from Access Button

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
Use

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

Or
Application.FollowHyperlink "Enter here Path and bat file name"
 
Thanks for the help
--
Billy Rogers

Dallas,TX

Currently Using SQL Server 2000, Office 2000 and Office 2003
 
<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>
 
Back
Top