How do I create a batch file to do something like this:
@echo off
c:
cd\
echo About to FORMAT drive A…
echo Proceed or Abort P/A [where p =Proceed and A=Abort]-the bracket and its content not included please.
Something like that… so that the user is given a set of predefined characters to type to effect some actions. like Procced or Abort P/A
And when the user strikes the “P” key the computer should proceed and when the user does the opposite the computer should Abort the operation.