Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

Very basic but you could have a file on the remote machine then do:

 

If Not Exist \\remotemachine\share\file c:\startfile.exe

 

If the remote machine is offline then the file will not exist and so will run the startfile.exe

Posted

A .bat which will start backup servers

Sorry, dont understand..............what file?!

 

- - - Updated - - -

 

Thanks but it is at a different location

Very basic but you could have a file on the remote machine then do:

 

If Not Exist \\remotemachine\share\file c:\startfile.exe

 

If the remote machine is offline then the file will not exist and so will run the startfile.exe

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...