mmanning
asked on
Batch file programming - updating files.
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.
ASKER
R.Wilson could you please give me some more informatin on how to do this.
ASKER
Additional information needed on how to do it! Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
cho is on the right track, but his method won't distinguish between versions (I think).
Cheers,
Raymond.
Cheers,
Raymond.
Hi rwilson,
I think different versions have different byte structure (and file size).
I think different versions have different byte structure (and file size).
ASKER
Raymond I produced a bootable disk which works carries out the task well.
Thankyou
MManning
Thankyou
MManning
Cheers,
Raymond.