D
Dave
How to a make a scheduled task run minimized? I have seen this asked a
few times, with no real solution. I finally figured it out, and
decided to share.
1. Create a shortcut for the command you are trying to run.
2. Go to properties of the shortcut and set the Run field
to "Minimized"
3. Set your scheduled task to run the shortcut file. (This is
the tricky part). You can't just browse to the shortcut file
and double click. You must type the path and filename to the
shortcut file. Note: shortcut files have a hidden ".lnk"
extension. You must included this on the run line.
ex: "c:\scripts\myjob.bat.lnk"
Dave
few times, with no real solution. I finally figured it out, and
decided to share.
1. Create a shortcut for the command you are trying to run.
2. Go to properties of the shortcut and set the Run field
to "Minimized"
3. Set your scheduled task to run the shortcut file. (This is
the tricky part). You can't just browse to the shortcut file
and double click. You must type the path and filename to the
shortcut file. Note: shortcut files have a hidden ".lnk"
extension. You must included this on the run line.
ex: "c:\scripts\myjob.bat.lnk"
Dave