Home / Microsoft / Microsoft DOS / Help with Batch file
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: Help with Batch file  (Read 2827 times)
JohnSmith
Guest
« 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
IP logged
Pages: [1] - (Top) Print 
Home / Microsoft / Microsoft DOS / Help with Batch file « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.073 seconds with 18 queries.