Try something like
Shell "cmd /k ""C:\YourBatchPath\YourBatchFileName.bat""", vbNormalFocus
Daniel
> Hi,
> I want to run a ms dos batch file from a button in an access form. The file
> is located in a folder (P:\AAReports). Is this possible?
ielmrani - 31 Jan 2007 21:48 GMT
Great. thank you so much.
>Try something like
>
[quoted text clipped - 5 lines]
>> I want to run a ms dos batch file from a button in an access form. The file
>> is located in a folder (P:\AAReports). Is this possible?