I replaced the mapped drive letter of E: with the UNC of \\myservername but the Scheduler would still not start Access. Any other ideas?
Main Topics
Browse All TopicsI am attempting to automatically update the tables in an Access database by automating the running of an Access macro using Access command line options and the Windows XP Schedule Service. I have the following command in a MSDOS bat file:
"C:\Program Files\Microsoft Office\Office10\MSACCESS.E
The "E" drive is a mapped drive to one of our Windows 2000 Servers. I can run the above bat file manually and Access starts and runs the Macro successfully. However, the XP Schedule service will not run this bat file. The problem I am having is identical to what was described in an earlier posting: http://www.experts-exchang
Microsoft says that what I am doing is supported (See http://support.microsoft.c
Version of Windows: Windows XP, Service Pack 2
Version of Office: Microsoft Office 2002 with Service Pack 3
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I just tried it on a Win2k machine and it works fine. I'll see if I can get a chance to try it on an XP machine shortly.
my batch
"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE
The only difference is no quotes around the macro name. The batch file is on a network drive mapped with a drive letter - not using UNC path.
OM Gang
KB article
http://support.microsoft.c
describes the behavior although it shouldn't happen on an SP2 machine - try restarting the Task Scheduler service to see if that resolves the issue.
Also, does the Task Scheduler log file show anything?
OM Gang
I originally had the Task set for 4:00 am. There were entries in the Task Scheduler log for the 4:00 am jobs. All what was said was that the job completed with a completion code of 0 (Zero). However, the tables did not get updated so the job did not run. For the tasks I tried to run during the past few hours, no entries were added to the log so its like the Task Scheduler does not no the Task is there at all.
I looked at the MS KB article http://support.microsoft.c
Results of my tests:
On my original XP machine, the Scheduler will at least run a simple bat file (e.g. bat file where I am just echoing out the date and time to a log file). This machine, however, will not start Access from the Scheduler.
On a second XP machine that was recently rebuilt, the Task Scheduler did successfully start MS Access and run my Macro.
Anyone have any suggesstions? Try replying XP Service Pack 2 and additional updates to my original machine or should I just rebuild this machine?
Business Accounts
Answer for Membership
by: ArjiPosted on 2005-06-03 at 07:39:22ID: 14140067
Just a shot in the dark. You may want to try using a UNC instead of the drive letter:
le\DataBas es\TIMS.md b" /x "Daily_Update_2"
\\yourserver\Groups\Tangib
The actual string would depend on what path you have mapped to drive E. the above is just a sample of UNC.