diff options
| author | WindowsAddict | 2024-08-19 13:13:14 +0000 |
|---|---|---|
| committer | WindowsAddict | 2024-08-19 13:13:14 +0000 |
| commit | 3fd16669264dc9c85c37957d949bb6f37021d9a1 (patch) | |
| tree | 0a794d2e2954be463eb9e288bcb7e6450638c2b4 /MAS/Separate-Files-Version/Troubleshoot.cmd | |
| parent | bf814304c62cbeba6e18ddf83b023363f3857dce (diff) | |
| download | Microsoft-Activation-Scripts-3fd16669264dc9c85c37957d949bb6f37021d9a1.zip | |
Fix color code
Diffstat (limited to 'MAS/Separate-Files-Version/Troubleshoot.cmd')
| -rw-r--r-- | MAS/Separate-Files-Version/Troubleshoot.cmd | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/MAS/Separate-Files-Version/Troubleshoot.cmd b/MAS/Separate-Files-Version/Troubleshoot.cmd index 74ceb0e..3196a43 100644 --- a/MAS/Separate-Files-Version/Troubleshoot.cmd +++ b/MAS/Separate-Files-Version/Troubleshoot.cmd @@ -1381,7 +1381,7 @@ exit /b if %_NCS% EQU 1 (
echo %esc%[%~1%~2%esc%[0m
) else (
-if not exist %psc% (echo %~3) else (%psc% write-host -back '%1' -fore '%2' '%3')
+%psc% write-host -back '%1' -fore '%2' '%3'
)
exit /b
@@ -1390,11 +1390,10 @@ exit /b if %_NCS% EQU 1 (
echo %esc%[%~1%~2%esc%[%~3%~4%esc%[0m
) else (
-if not exist %psc% (echo %~3%~6) else (%psc% write-host -back '%1' -fore '%2' '%3' -NoNewline; write-host -back '%4' -fore '%5' '%6')
+%psc% write-host -back '%1' -fore '%2' '%3' -NoNewline; write-host -back '%4' -fore '%5' '%6'
)
exit /b
-
::========================================================================================================================================
:: Set variables
|
