mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-05-21 10:54:56 +00:00
1.9
This commit is contained in:
parent
306372d5a2
commit
e81490b89c
16 changed files with 6730 additions and 1942 deletions
|
@ -67,12 +67,11 @@ set "Path=%SystemRoot%\Sysnative;%SystemRoot%\Sysnative\Wbem;%SystemRoot%\Sysnat
|
|||
:: Check LF line ending
|
||||
|
||||
pushd "%~dp0"
|
||||
>nul findstr /rxc:".*" "%~nx0"
|
||||
if not %errorlevel%==0 (
|
||||
>nul findstr /v "$" "%~nx0" && (
|
||||
echo:
|
||||
echo Error: Script either has LF line ending issue, or it failed to read itself.
|
||||
echo Error: Script either has LF line ending issue or an empty line at the end of the script is missing.
|
||||
echo:
|
||||
ping 127.0.0.1 -n 6 > nul
|
||||
ping 127.0.0.1 -n 6 >nul
|
||||
popd
|
||||
exit /b
|
||||
)
|
||||
|
@ -536,4 +535,5 @@ PrintLicensesInformation -Mode "NUL"
|
|||
Write-Host
|
||||
PrintLicensesInformation -Mode "Device"
|
||||
:vNextDiag:
|
||||
::===================================================
|
||||
::===================================================
|
||||
:: Leave empty line below
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue