dnrc Posted January 26, 2005 Share Posted January 26, 2005 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 Link to comment Share on other sites More sharing options...
durex Posted January 26, 2005 Share Posted January 26, 2005 @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>) Link to comment Share on other sites More sharing options...
dnrc Posted January 26, 2005 Author Share Posted January 26, 2005 cheers geez, i'll give that a try. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now