Beeby
asked on
Schedule Task 98???????
I wish to run a task which will compact my Access database overnight, it works on one PC running windows 95 but the same task will not execute on 98? The run line reads C:\PROGRA~1\MICROS~1\OFFIC E\MSACCESS .EXE D:\Data97.mdb /compact" Now I did want this task to work across the network and activate the drive on the sever, but for now I would be happy to see it work on my local drive. I set the time and date and whenthe clock reaches that time ....nothing and the schedule then sets the next run time to the following day as it is a daily task. Can anyone help????? Its beyond me is there any test I could run to see if schedule is working correctly ???????
ASKER
I must reject your answer because it works without the quote marks. It works on the local drive, it's when I try to access the drive on the server. The server inquestion contains little security restrictions once in Windows you are able to access the drive. So does it require different different coding to access this drive???????? C:\PROGRA~1\MICROS~1\OFFIC E\MSACCESS .EXE G:\Data97.mdb /compact is what I am using what must I change?????? I have tried the quote marks and it still does not work. Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
How do you obtain the exact syntax for the UNC names ie, \\servername\Ddrivesharena me???????? ?
"C:\PROGRA~1\MICROS~1\OFFI
You need the executable itself in the quotes and any parameters on the outside.. It will run properly if setup like this