Tighten the check for command-line context
This commit is contained in:
parent
8d61617c6a
commit
435a62266a
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
setlocal DisableDelayedExpansion EnableExtensions
|
||||
|
||||
if /i "%~f0"=="%~dpnx0" (
|
||||
if "%=^%="=="%=%=" (
|
||||
set ^"$p=%%<nul"
|
||||
) else (
|
||||
set ^"$p=^%<nul"
|
||||
|
|
|
|||
Loading…
Reference in New Issue