Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows Task Scheduler stays active after it runned a batch file

28 Aug 2011   #1
JustBe

Windows 7 Home Premium 64 bit
 
 
Windows Task Scheduler stays active after it runned a batch file

Hi small question,

My batch file runs quite well in windows task scheduler, but it stays active.

How can I make sure Task Scheduler finishes this?


I am closing VLC player with a command ending with --play-and-exit

and then vlc:quit (to kill the processes in the task manager).

But in task scheduler the status stays active.

Any tips?


My System SpecsSystem Spec
.
28 Aug 2011   #2
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

Hello JustBe, welcome to Seven Forums!


Have a look at this in the "Triggers, Edit" tab and be sure to post back with any further questions you may have and to keep us informed.

click to enlarge
Windows Task Scheduler stays active after it runned a batch file-stop.jpg


My System SpecsSystem Spec
28 Aug 2011   #3
JustBe

Windows 7 Home Premium 64 bit
 
 

I am opening VLC player, let it play a playlist and close it in a batch file.

vlc.exe "path\my playlist" --fullscreen --play-and-exit
vlc:quit

Is there not another solution?
My System SpecsSystem Spec
.

29 Aug 2011   #4
JustBe

Windows 7 Home Premium 64 bit
 
 

How do you change status with a command in a batch file?

So, not in the GUI as in the attached file, but with a command of this?
My System SpecsSystem Spec
Reply

 Windows Task Scheduler stays active after it runned a batch file




Thread Tools




Similar help and support threads
Thread Forum
Task Scheduler: Batch file stuck in 'running' status
I need to run a batch file using the System account when a user logs on. This is needed for Crashplan to see network drives, following the tip at The Crashplan Network Drive Workaround My batch file does the following: net use r: \\server\folder1 net use s: \\server\folder2 I have created...
Performance & Maintenance
Windows Task Scheduler Batch File
Hello: I have a Batch File, to move a file to a different folder, that I would like to run from Windows Task Scheduler on a windows server 2008 R2 . The batch file itself works, however running it from Windows Task Scheduler does not work. I am trying to move the file within the L drive. I...
General Discussion
Windows Task Scheduler Move File
Hello: Using windows task scheduler, how do I move a file to a different folder, there is a box Program/Script that can browse a file then there is a box Add arguments, where and how do I add the from and to file path Thanks much!
General Discussion
Task Scheduling With Batch File Question
Hi everyone, I've recently been setting up some automation via TS with great success, until now. I want it to delete daily all content, sub folders and files etc from my TV shows parent folder. I am using the following shell script (.cmd batch file) @echo off setlocal...
Performance & Maintenance
Task scheduler unable to load task status/active tasks at startup.
My task manager is unable to load task status/active tasks at startup. I get the message: "The selected task "{0}" no longer exists. To see the current tasks, click Refresh." When I refresh I get the same message. I checked and found that under Microsoft the problem was in the defrag...
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:23.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App