I want to have a batch script that will run a backup command based on what I tell the script to.
SO in other words, I want to run the script and have the CMD window pop up and ask if I want a full or incremental backup and by typing in either F or I to get the right command to run.
Getting the command to run I imagine is a IF statement but how do I get the command window to ask the user what they want?
It might just be simpler to create 2 backup scripts I must admit:ghey:
To be interactive I think you will need to run something to grab the response. How about running it in the style
c:\backup -f
You can then check the presence and content in batch file easily. e.g. do nothing if none, maybe put up a help message saying you need to specify what mode you want.