Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Help with Batch file  (Read 10940 times)

0 Members and 1 Guest are viewing this topic.

JohnSmith

  • Guest
Help with Batch file
« on: May 27, 2004, 05:25:31 PM »
I want to create a batch file that will run the macro in my access mdb and will close Access once completed and then will log the date and time the batch file ran into a log.txt..

I tried this but it does only the macro...  ::)

START
"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "c:
\Test\Test.MDB" /x Test_Macro
TASKKILL /F /IM msaccess.exe /T
echo Process is finished succesfully at %TIME%, %DATE% >> c:
\Test\log.txt
SLEEP 360
GOTO END
:END