I want to run multiple scripts simultaneously, but monitoring them or detecting which has died is difficult as they are all listed as wscript.exe in the process list.
How can I change the name of the running process?
|
feedback
|
|
Only way I can think of is to make a copy of wscript.exe for each script you need to have a unique name in process explorer then explicitly call that copy. For example say you have renamer.vbs create a copy of wscript.exe and call it renamer.exe Now run your script like:
You process should show up as renamer.exe | |||
feedback
|
|
As long as the script is running locally then you can copy wscript.exe, renaming it to whatever you like then call this from a shortcut. For example, if you wanted to show the process as
The above assumes you've copied | ||||
|
feedback
|