I have a (test) batch file with this code
If Exist "C:\Users\All Users\ntuser.dat" Goto Win 7 If Exist "C:\Documents and Settings\All Users\ntuser.dat" Goto Win XP
:Win 7 will write here the parameters which'll run on win7
C:\w7\test.txt
:Win XP
will write here the parameters which'll run on winxp
and so the same with other os + os architecture
it's working, but i need to add more os identify options.. I need that batch file to identify os version, architecture (Windows 2003R2 x64 only, Windows Xp x32 and x64, Windows Vista x32 and x64, Windows 7 x32 and x64, Windows 8 x32 and x64)
Thank you very much in Advanced!