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: Script to Check Processes then Launch

07 Jan 2011   #1
JOSHSKORN

Windows 7 Ultimate 64-bit
 
 
Script to Check Processes then Launch

I would like a script that does the following:

Code:
If ProcessA.exe NOT Running?
Open ProgramA (Access link file)
End If

If ProcessB.exe NOT Running?
Open ProgramB (Access link file)
End If

If ProcessC.exe NOT Running?
Open ProgramC (Access link file)
End If

Open ProgramD (Access link file)
Obviously I REALLY only need code for 1 IF BLOCK but this is more how it'll look in the end. I'm more or less checking for 3 different processes before I run an application.

Please help, thanks.


My System SpecsSystem Spec
.
07 Jan 2011   #2
Ztruker

Windows 10 Pro X64
 
 

This is similar to your other thread:

Two Scripts: START then END Application
My System SpecsSystem Spec
07 Jan 2011   #3
JOSHSKORN

Windows 7 Ultimate 64-bit
 
 

Quote   Quote: Originally Posted by Ztruker View Post
This is similar to your other thread:

Two Scripts: START then END Application
Note quite. I guess if I can figure out the other one, I can do dissect it and do this one (by the last two blocks of code in part 1 of it), but the other one is more involved. This one doesn't deal with starting/stopping services. I basically play this game and am wanting to make sure other applications have started BEFORE launching the game. I'm trying to achieve this by checking the state of the processes, then opening the applications if necessary.
My System SpecsSystem Spec
.

08 Jan 2011   #4
Combine

Windows 7 Ultimate 64 bits
 
 

Quote   Quote: Originally Posted by Ztruker View Post
This is similar to your other thread:

Two Scripts: START then END Application
Why don't you help instead of being criticizing without a good reason. The posts are not the same.
My System SpecsSystem Spec
08 Jan 2011   #5
Ztruker

Windows 10 Pro X64
 
 

I did not say they were the same. I said they were similar, and they are. I've alreday been responding in the other thread.

Why didn't you read my response before criticizing me?
My System SpecsSystem Spec
Reply

 Script to Check Processes then Launch




Thread Tools




Similar help and support threads
Thread Forum
Process Explorer + VirusTotal (to check all processes with 50+ AV's)
Process Explorer by Sysinternals(Microsoft) is a more advanced alternative to Windows Task Manager VirusTotal.com is a multi-engined scanner service from Google with more than 50 different anti-virus products including: AVG, Avast, Avira, BitDefender, ESET, F-Secure, GData, Kaspersky,...
Tutorials
Check URL using DOS script
Hi, I am using windows7 64 bit. I have a text file "sample.txt" and text file has 200000 image url's as like below http://www.imagesup.net/img/icon_index1.png http://www.imagesup.net/img/icon_index2.png http://www.imagesup.net/img/icon_index3.png...
General Discussion
Check Internet connectivity automatically via script and reconnect
Hi all I have a few computers that connect via rasdial to a bridged modem. They are dropping off randomly and frequently enough that its a pain to have to reset them manually everytime. Does anyone know how I could write a script or something that would check for internet connectivity and if...
Network & Sharing
Almost all programs and processes crashing at launch!
Hi, I've searched for a similar problem on the forum, and found nothing. Sorry if I missed... And this is also unlike anything I've ever had with Windows. So after rebooting my computer (running Windows 7 Ultimate x64) a few days a go, I log in to my user, and after a minute I'm overwhelmed...
BSOD Help and Support
Launch Manager (Quick Launch Buttons)
I now have these quick launch buttons working but I was wondering how can I change the defaut programns they open. e.g. The email button opens Outlook but I want it to open Windows Live Mail. REP will be given.
Hardware & Devices


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 21:54.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App