1.

Solve : tasklist question????

Answer»

Dear my fren

is there a batch that can check a program that was runing on tasklist and if not exist it will RUN it back AUTO by the batch file itself

im running win xpYou can parse the output of TASKLIST with the FINDSTR COMMAND, and if you don't find the program you are looking for, just launch it with the proper command or by using the START command.Quote from: GuruGary on May 30, 2007, 10:54:21 PM

You can parse the output of TASKLIST with the FINDSTR command, and if you don't find the program you are looking for, just launch it with the proper command or by using the START command.

ermmmm dont really understand what you actually want me to do
sry my english is bad cant understand

can you SAID it in more simple wayThere is a program called Tasklist.

Tasklist makes a list of the tasks.

A batch can look at the list and see if a task is running.

If it not running it can start the program.

Gary, LIKE you, apparently, I am getting bored with being a "batch writing service" for people who aren't interested in the code at all, they just want to fix something at work or get their homework done.
Quote from: contrex on May 30, 2007, 11:40:58 PM
There is a program called Tasklist.

Tasklist makes a list of the tasks.

A batch can look at the list and see if a task is running.

If it not running it can start the program.



thx alot finally i made itQuote from: contrex on May 30, 2007, 11:40:58 PM
Gary, like you, apparently, I am getting bored with being a "batch writing service" for people who aren't interested in the code at all, they just want to fix something at work or get their homework done.
Yes. And helping some people makes me nervous, especially when they want to close programs, end tasks, delete files and eject CD-ROM drives.Quote from: GuruGary on May 31, 2007, 12:00:02 AM
Quote from: contrex on May 30, 2007, 11:40:58 PM
Gary, like you, apparently, I am getting bored with being a "batch writing service" for people who aren't interested in the code at all, they just want to fix something at work or get their homework done.
Yes. And helping some people makes me nervous, especially when they want to close programs, end tasks, delete files and eject CD-ROM drives.

well anyway thank alot i just forgot the tasklist command


Discussion

No Comment Found