Marko Stojovic
Registered User.
- Local time
- Today, 00:31
- Joined
- Jan 25, 2001
- Messages
- 29
Following an earlier discussion, I've set up a database which has an AutoExec macro that prints out a report and shuts itself down again. I'm using NT4 (native) scheduler to do the task at a fixed time, and I've made a batch file that gives the instruction:
"c:\program files\microsoft office\office\msaccess.exe" "c:\winnt\profiles\ms67\desktop\schedu~1.mdb"
The weird thing is, when I click the .bat file it works fine, but when I schedule it, it says it cannot find the required workgroup file (it then gives the address of the .mdw file and says it doesn't exist, but it clearly does, and it's at the address specified! The MS-DOS name of the .mdw file is the same as the displayed name under the icon, so there's no confusion there).
Does anyone know why, when scheduled, Windows says it can't find the .mdw file which is exactly where it says it's not!?
Cheers,
Marko.
"c:\program files\microsoft office\office\msaccess.exe" "c:\winnt\profiles\ms67\desktop\schedu~1.mdb"
The weird thing is, when I click the .bat file it works fine, but when I schedule it, it says it cannot find the required workgroup file (it then gives the address of the .mdw file and says it doesn't exist, but it clearly does, and it's at the address specified! The MS-DOS name of the .mdw file is the same as the displayed name under the icon, so there's no confusion there).
Does anyone know why, when scheduled, Windows says it can't find the .mdw file which is exactly where it says it's not!?
Cheers,
Marko.