I'm writing a batch file and need to get the revision number of windows (for example, 2180 for xp sp2 final)..
Writing the code is not a problem, I just can't find the information where I know it will be in everyone's xp and 2k3 copy..
I've searched the registry and the closest thing i could find were some internet explorer keys but then i thought about how nLite has options to remove IE from the windows cd so I'm doubting that method.. and upgrades to ie would overwrite the number.
the ver command in dos doesnt display the revision number.. so im lost..
Question
todd
I'm writing a batch file and need to get the revision number of windows (for example, 2180 for xp sp2 final)..
Writing the code is not a problem, I just can't find the information where I know it will be in everyone's xp and 2k3 copy..
I've searched the registry and the closest thing i could find were some internet explorer keys but then i thought about how nLite has options to remove IE from the windows cd so I'm doubting that method.. and upgrades to ie would overwrite the number.
the ver command in dos doesnt display the revision number.. so im lost..
Link to comment
Share on other sites
12 answers to this question
Recommended Posts