Copy-Paste from:
http://stackoverflow.com/questions/18881221/windows-8-how-to-start-a-batch-file-minimized-with-task-scheduler-comspec-me *
I hope somebody at scforum.info has more insight in this problem...? "windows 8: how to start a batch file minimized with task scheduler? %comspec% method not working anymore after Windows 7
After Windows XP, I always use the trick below to start batch files minimized with Windows Task Manager.
FROM:
http://www.pcreview.co.uk/forums/running-bat-files-minimized-scheduler-t2125918.html "prequisite: all your batch files have an exit-command to fnish the actions off. If you do not exit, you will end with a command prompt blinking.
This is what I keep using: %comspec% /c start /min "C:\Scripts\Destination_inbound_ftp5.bat"
When you save this in the properties, you will get a follow-up dialogue asking you if you ment all this to be parameters or not. Answer NO and the task will be saved as you would expect.
Thank you David Lipman, Sept 7th 2005 :)"
I also read this article:
http://stackoverflow.com/questions/8121238/start-comspec-c-script-cmd-vs-start-cmd-c-second-cmd-script-cmd , which made me replace the "%comspec%" statement with "C:\Windows\system32\cmd.exe", but that did not change anything either.
The problem is that now, instead of a minimized running bat file, I end up with just a command prompt, minimized but without any of the batch commands executed. The task scheduler status remains "running" :(
Anyone an idea how to get this done on Windows 8 (x64)?? Preferrable with old-school batch commands instead of powershell (or worse ;p)
Help me help you!
https://copy.com/?r=zOEhNk - Clear 15GB of cloud storage and...
... Peace for you :)
Devvie
~~~ notemail@facebook.com ~~~
Cuisvis hominis est errare, nullius nisi insipientis in errore persevare
——
All spelling mistakes are my own and may only be distributed under the GNU General Public License! – (© 95-1 by Coredump; 2-013 by DevNullius)"
* and I also copy pasted that one to
http://www.pcreview.co.uk/forums/cross-post-w2k-forum-running-bat-files-minimized-scheduler-windows-8-x64-t4060423.html#post14203849