Windows 8 (cross-post from w2k forum) Running .bat files minimized from scheduler - in windows 8 (x64) ??

Joined
Feb 3, 2012
Messages
5
Reaction score
0
As asked here: https://www.pcreview.co.uk/forums/running-bat-files-minimized-scheduler-t2125918p2.html ...

Detailed description, copy paste from: http://stackoverflow.com/questions/...file-minimized-with-task-scheduler-comspec-me

"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: https://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/...ript-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

~~~ (e-mail address removed) ~~~

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)"
 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top