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 Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
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
Batch File that grabs file names from folder to insert into batch file
Ok I'm totally at a loss on how to word this so I'm just going to write it out the best that I can... :confused: First I have a batch file that I'm writing that will convert mp4 files to mp3 files (I have a lot) for a buddies band using ffmpeg. Here's the code that I'm using: ffmpeg -i...
General Discussion
Task Scheduler - Win 7 64-bit - problem running .bat file "Hello..."
Hi, I'm having a problem trying to automatically run a basic .bat file in task scheduler in windows 7 64-bit. I have more complicated .bat files to schedule but I can't get a simple one to run. This is the .bat file: @ECHO OFF ECHO hello there...
General Discussion
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
How do I disable a task in the windows 7 Task Scheduler?
Firstly, I'd like to thank you for taking your time and reading this. Now, let's talk about the issue that's driving me loco. I scheduled a task for my computer to shut itself down at 1 AM, I was tired, I can't remember if I ticked "do this daily" or not, but it does this every day and for...
General Discussion
Task Scheduler failing to start task with merged network locations
I have two routers I usually connect to (work and home) and each have wireless access. That means there are essentially 4 network locations I have listed. I have merged each respective network location (wired and wireless) into their own singular network location - "Work" and "Home". I also...
General Discussion


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 11:33.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App