We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
systeminfo | find "OS Name" > %USERPROFILE%\desktop\osname.txt FOR /F "tokens=5" %%A IN (%USERPROFILE%\desktop\osname.txt) DO SET vers = %%A IF "%vers%" == "7" ( IF "%vers%" == "Vista" ( GOTO :vista ) ) GOTO :vista ELSE ( GOTO :xp ) :vista echo vista success! pause exit :xp echo xp success! pause exit
systeminfo | find /I "System Type" > "%USERPROFILE%\desktop\architecture.txt" FOR /F "tokens=3" %%A IN (%USERPROFILE%\desktop\architecture.txt) DO SET type = %%A IF "%type%" == "x64-based" ( GOTO :vista ) ELSE ( GOTO :xp ) :vista echo 64success! pause exit :xp echo 32success! pause
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|How do I change the behavior of Network icon in "Turn system icons on or off," when it is greyed out?||9||107|
|Windows Update for Skype Meeting App?||1||60|
|How to remove duplicates eficiently without sorting||5||57|
|How to find who used my machine via Remote Desktop Cntn in win 7||7||85|
Join the community of 500,000 technology professionals and ask your questions.