Gerald said:
It may be possible, but not that familiar with Scheduled Tasks. It
seemed to want to be pointed to a executable then go to the next
step. The "quiet" in the command mutes the speaker.
I never use the Add New Task wizard in Task Scheduler. It's a nuisance
since I end up having to go back to edit the event, anyway. So I just
right-click in the task pane and select New -> Scheduled Task (or get at
it via the File menu). The wizard is limited. If you want full control
over the definition of a scheduled event then you'll have to go edit it.
If it wasn't due to using the wizard (which lets you point at the file
but only optionally at the end lets you edit the task), I suspect the
program got installed or placed under a path that includes spaces and
you forgot to double-quote the full path to the executable.
C:\Program Files\GRC\wizmo.exe quiet exit
won't work because parsing is on space characters which means the
command you specifed was "C:\Program" (and there is no program.exe under
C: root). You need to use the following:
"C:\Program Files\GRC\wizmo.exe" quiet exit
If you had used the Browse button to find the executable file, its path
would automatically get double-quoted if space characters were used in
the path. Then after selecting the executable file, you would edit the
command line to add the parameters. Sometimes the parameters have to be
quoted said:
Well, free was my guiding factor as he requested.
My guiding factor as well. All of the Nirsoft utilities are free
(versus some free stuff and some paid stuff at GRC).
However, nircmd doesn't permit the multiple directives that wizmo
provides. That because nircmd takes parameters to the directives so
multiple directives are not allowed (no way to guarantee correct
parsing). So with nircmd you might have to use a .bat file to list the
nircmd's for each directive (e.g., 3 calls of nircmd.exe for mute,
monitor off, lock workstation).
While nircmd looks to be more powerful than wizmo, for the average user
and the ability to specify multiple directives in one command line the
wizmo utility is probably easier to use.