A while back I got sick of having to use the 'IF' and 'IFF' statments... So,
being a C programer, I decided to create some aliases for my batch files....

----[ Aliases follow ]----
Switch=`Set _LVar=%1^Unset _Case >& nul`
Case=`iff [%_LVar%] == [%1] then^%2&^Set _Case=true^endiff`
Default=`iff [%_Case%] ne [true] then^%&^endiff`
---[ Use as follows ]---

Inkey --Continue-- (Y/n) %%Yes
Switch %Yes%
       Case y Echo Continuing....
       Case n Exit
Default Echo Nothing to do....

This will ask for Continuation and if you type "Y" or "y" it continues, if  you
type "n" or "N" it exits the batch file. and anything else displays  "Nothing to
do...."

