When a proces has been killed or not responding.
I want to restart it with a script.
Example: Icloud program stopped working (Proces named: icloud.exe) located C:\Program Files\Icloud\Icloud.exe.
Now i make a script : "C:\Program Files\Icloud\Icloud.exe"
If i run that script on the system it doesnt start icloud again.
Is my script incorrect? Pulseway notify's me it was done succesfully but it didn't start. (Took 2 seconds)
I also tested this with notepad: C:\Windows\System32\notepad.exe also this one didnt start up.
Ill hope you guys can tel