Discussion Locked

Task scheduling in Win2000 platform

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Please help! I wrote a DOS batch file that previously ran in Win95 platform. However, when I migrated to Win2000, it didn't work. But, I can double-click to run it without any errors.

I scheduled it by using the task scheduler that came with Win2000. The batch file contains 2 parts. 1) some simple DOS commands 2) run a .exe file that generated by VB6.0 SP5.

The problem I faced were as below:-

1) The DOS environment doesn't pop-up as I double-click the batch file. (But, the DOS commands can still be run in background.)

2) The .exe file doesn't run.

2 replies

by freddy5825

Make sure that if you have paths that have spaces between then to use quotes.

Open up a dos prompt and one by one copy and paste your commands into the dos prompt and look at the behavior. You should also be at SP2 to use the scheduler effectively.

Fred

This discussion is closed to new replies.