I'm trying to produce a bootable disk which will detect the version of windows, either 3.11 or 3.1 and overwrite the winfile.exe with the MS year 2000 compliant one. However how can I tell the version from within a batch file? What commands can I use to determine which copy to copy across. It needs to be done automatically because it needs sending around the country to my companies branches. The users cannot be trusted to do it on their own.