Jump to content

Recommended Posts

Posted

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


Posted
@echo off

for /f "tokens=2,3" %%i in ('ver') do SET OS_VER=%%i %%j

if "%OS_VER%"== "Windows XP" (
   <Perfectdisk for XP path and filename here>
) ELSE (
   <PerfectDisk for Win2003 path and filename here>
)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...