Question
August 7, 2007 at 03:23 PM
tea_or_coffee

Vista Task Scheduler Action Editor Error

by tea_or_coffee . Updated 18 years, 10 months ago

Windows Vista has a promising new task scheduler with lots of controls and more power. I particularly like the way you can batch commands under one task.

It was editing one such batch that I came across what I think is an error.

When you edit an action (Run a File) you put the path to the executable file in one box and the command line arguments in another, viz:

Program: [c:\Program Files\Folder\program.exe]
Commmand line: [-r “dothis”]

However, when you save this it says you have made an error by putting too much in the command line box and asks for confirmation:

Program: [c:\Program ]
Command line:
[Files\Folder\program.exe-r “dothis”]

It is clearly being confused by the space between ‘Program’ and ‘Files’. I would have thought by now MS coders would be aware that this is the moast likely place to run a program from! 🙂

The age-old way of getting round this is to put quotes around the path, but it didn’t seem right.

I hope someone could throw some light on how they solved this problem. Thanks 🙂

This discussion is locked

All Comments