J Jacob Mathai Registered User. Local time Today, 20:57 Joined Sep 6, 2001 Messages 546 Oct 4, 2001 #1 Can someone please show me how to execute a batch file from ACCESS command button?
J jstutz Registered User. Local time Today, 20:57 Joined Jan 28, 2000 Messages 80 Oct 4, 2001 #2 Try this... ----------- Dim str, dimshell str = "c:\batfile.bat" dimshell = Shell(str, 1) ----------- The 1 indicates that the shelled file gets normal focus. Search help for Shell for a full list of options. js [This message has been edited by jstutz (edited 10-04-2001).]
Try this... ----------- Dim str, dimshell str = "c:\batfile.bat" dimshell = Shell(str, 1) ----------- The 1 indicates that the shelled file gets normal focus. Search help for Shell for a full list of options. js [This message has been edited by jstutz (edited 10-04-2001).]
J Jacob Mathai Registered User. Local time Today, 20:57 Joined Sep 6, 2001 Messages 546 Oct 8, 2001 #3 Thanks. It worked