Skip to content

Commit

Permalink
More #656
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmaehl committed Mar 30, 2022
1 parent f8dc35f commit f275817
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions WhyNotWin11.au3
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ ProcessCMDLine()

Func ProcessCMDLine()
Local $aResults
Local $sDrive
Local $sDrive = Null
Local $bForce = False
Local $bSilent = False
Local $aOutput[3] = [False, "", ""]
Expand Down Expand Up @@ -220,13 +220,13 @@ Func ProcessCMDLine()
EndIf
EndIf

$bWinPE = RegRead("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\WinPE", "Version")
If @error Then
$bWinPE = False
Else
MsgBox(0, "WinPE", $bWinPE)
EndIf
EndIf

$bWinPE = RegRead("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\WinPE", "Version")
If @error Then
$bWinPE = False
Else
If $sDrive = Null Then $WINDOWS_DRIVE = "C:"
EndIf
#EndRegion

Expand Down

0 comments on commit f275817

Please sign in to comment.