Hello everyone I need urgent help .
Let me explain : I need a .bat file that automatically do three things :
1 ) If it detects that the program is closed open it .
2 ) If it detects that the program is open it does not do anything .
3 ) If it detects that the program is blocked closes and restarts .
The .bat file must be run in the background and automatically continue to do the three things described above .
I understand that I must act on tasklist which contains all the processes but are not expert in no language dos .
The .bat file must be run on Windows 2000 .
Thanks in advance to all
HELP FOR LANGUAGE DOS
Moderator: DosItHelp
Re: HELP FOR LANGUAGE DOS
How would one detect if a program is blocked from running by a third party ? At 1st one would need to know which 3th party and how to manipulate it. I assume you are talking about some kind of firewall or AV-software running with system privileges. For security reasons you will need Admin privileges too.
It can be done in DOS, although I suggest visiting the autoIT forum, with autoIT you do this in a 5 line while loop that doesn't wastes resources. autoIt can be tuned to suspend itself and only act upon a certain event. Processes which run in the background are best not written in batch.
It can be done in DOS, although I suggest visiting the autoIT forum, with autoIT you do this in a 5 line while loop that doesn't wastes resources. autoIt can be tuned to suspend itself and only act upon a certain event. Processes which run in the background are best not written in batch.
Re: HELP FOR LANGUAGE DOS
Ok , but AutoIt is a software to write in c ?
As you write these 5 lines with a cycle while loops ?
As you write these 5 lines with a cycle while loops ?
Re: HELP FOR LANGUAGE DOS
sureReAslan wrote:Ok , but AutoIt is a software to write in c ?
As you write these 5 lines with a cycle while loops ?
Re: HELP FOR LANGUAGE DOS
How do you write this program to do everything written above ?