Jump to content

Windows 8 Pro question


ingeborgdot

Recommended Posts


  • 2 months later...

I was bored today so I wrote this batch based off of Magic's reply..DP :sneaky:

@echo Off&color a&title,[ CHECK IF FULL OR UPGRADE ~DosProbie ]:: ### REG VARIABLES..set regpath=hklm\software\microsoft\windows\currentversion\setup\oobeset regvalue=MediaBootInstallset regdata=1:: ### CHECK REG VALUE FOR OS TYPE..reg query "%regpath%" /v "%regvalue%" | findstr /r "%regdata%">nul 2>&1cls:: ### OUTPUT IF FULL OR UPGRADE..if "%errorlevel%" equ "0" (  echo Your Windows OS is a Full Version!) else (  echo Your Windows OS is a Upgrade Version!):: ### DELAY THEN EXIT..timeout /t 3 /nobreak>nulexit /b /0
Edited by DosProbie
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...