Batch file help

Associate
Joined
6 Feb 2004
Posts
1,376
Location
Toon
Morning all

I'm sure this is very simple if you known what you are doing. Where I work the PCs are old and slow, and our team is dispersed widely across a large office. To save people having to get in 10 minutes earlier whilst their PCs warm up I have created a batch file at work for our small team which uses a command line WOL program to turn on everyone's PCs. This works great but I would like to add a bit more functionality to it.

Currently it just has a line to start up each PC, like

Start <Mac address>
Start <Mac address> etc

This just starts up all the PCs. What I want it to do is, before starting each PC, ask if you want to start the PC, i.e Do you want to start XXX PC? (Y/N). Y will start the PC and move on the the next, N will skip and move on to the next in the list. This will allow us to turn on the required PCs without starting computers we know need not be on that day.

Thanks in advance for the assistance!
 
Back
Top Bottom