Question
Detect Windows Version in a Batch File
Hello,
Not quite Pro/E related, but it does relate to our launching of Pro/E.
I'm the guinea pig here with the first Windows 7 machine and I'm running
into some quirks with our launch batch files. Mainly, the issue is on
of paths, XP paths are different to Windows 7 paths for certain things.
If I could find the windows version in the batch file, then I could
likely write an if-then routine to set certain variables one way for XP
and the other for Windows 7. Anyone know how to do this?
Doug Schaefer
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Not quite Pro/E related, but it does relate to our launching of Pro/E.
I'm the guinea pig here with the first Windows 7 machine and I'm running
into some quirks with our launch batch files. Mainly, the issue is on
of paths, XP paths are different to Windows 7 paths for certain things.
If I could find the windows version in the batch file, then I could
likely write an if-then routine to set certain variables one way for XP
and the other for Windows 7. Anyone know how to do this?
Doug Schaefer
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

