Windows version (2000,XP,Vista) can be obtained via registry: HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProductName and Service Pack: HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\CSDVersion Tomasz Chmielewski napsal(a): > Paul McGrath schrieb: >> Just looked at ntoskrnl.exe, is it possible to use the check type, file, >> 'product version'? I've only ever used file version, but that would >> change in XP dependant on service pack. > > You could parse the output of the "ver" command - it gives some (non > obvious) hints about the version, too. > > > -- Vladimir Psenicka IT system engineer Prodeco a.s. |