|I have created a .bat file that kills a .exe over a network share, but I need that .exe to be started again. I normally use a remote access program but that takes too long so I would like to some what automate it. Any ideas on how to start a .exe on a networked PC?|
set /p ip=What is the IP Address of the machine?
echo Removing Existing Net Share...
net use x:
net use x: /delete
echo Setting Net Share...
net use x: \\%ip%\c /user:testuser test
taskkill.exe /S %ip% /U testuser /P test /IM XXXXXX.exe