I'm having trouble creating a .bat file to do the following;
IF OS xp run xcopy IF OS Win 7 run xcopy Else exit
To keep it simple I would like to the use
IF EXIST "C:\Program Files (x86)\." THEN windows 7
Can anyone please help?