Hey everyone,
I was just wondering if there is a way to execute a batch file from a desktop which prompts the user to continue. I am pretty sure it is possible but I have no clue how to do it.
My situation is this: I have two severs running proprietary software. One is Primary, one is Backup. I would like to create a script which disconnects the Primary server and connects to the Backup. Before it does that, it prompts the user that they are "About to connect to the backup server, do you want to continue? Press Y to connect, and N to exit." If they continue, it disconnects the mapping to the Primary, and re-maps to the Backup.
How difficult is it to do? The drive mappings are cake, but its the IF/THEN question which I do not know the syntax for. Anyone here know?
Thanks.
-Pete
I was just wondering if there is a way to execute a batch file from a desktop which prompts the user to continue. I am pretty sure it is possible but I have no clue how to do it.
My situation is this: I have two severs running proprietary software. One is Primary, one is Backup. I would like to create a script which disconnects the Primary server and connects to the Backup. Before it does that, it prompts the user that they are "About to connect to the backup server, do you want to continue? Press Y to connect, and N to exit." If they continue, it disconnects the mapping to the Primary, and re-maps to the Backup.
How difficult is it to do? The drive mappings are cake, but its the IF/THEN question which I do not know the syntax for. Anyone here know?
Thanks.
-Pete