Script to Check Processes then Launch


  1. Posts : 121
    Windows 7 Ultimate 64-bit
       #1

    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 Computer


  2. Posts : 6,285
    Windows 10 Pro X64
       #2

    This is similar to your other thread:

    Two Scripts: START then END Application
      My Computer


  3. Posts : 121
    Windows 7 Ultimate 64-bit
    Thread Starter
       #3

    Ztruker said:
    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 Computer


  4. Posts : 80
    Windows 7 Ultimate 64 bits
       #4

    Ztruker said:
    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 Computer


  5. Posts : 6,285
    Windows 10 Pro X64
       #5

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 22:05.
Find Us