January 26, 200521 yr i have a unattended multiboot dvd, and wish to have it install on both xp and 2003.for the most part this is fine, except for perfectdisk which has 2 versions for server and workstation.so, what i need is a batch that will detect the o/s and install from one location if it's 2k3 and a different one if XP.Can anyone help with this?cheers
January 26, 200521 yr @echo offfor /f "tokens=2,3" %%i in ('ver') do SET OS_VER=%%i %%jif "%OS_VER%"== "Windows XP" ( <Perfectdisk for XP path and filename here>) ELSE ( <PerfectDisk for Win2003 path and filename here>)
Create an account or sign in to comment