Disable delayed expansion in `cmd init`
This commit is contained in:
parent
06c19d8d31
commit
23e4e78431
|
|
@ -28,7 +28,7 @@
|
||||||
{%- let section = "@rem ==========================================================================\n@rem" -%}
|
{%- let section = "@rem ==========================================================================\n@rem" -%}
|
||||||
{%- let not_configured = "@rem -- not configured --" -%}
|
{%- let not_configured = "@rem -- not configured --" -%}
|
||||||
|
|
||||||
@echo off & setlocal EnableDelayedExpansion EnableExtensions
|
@echo off & setlocal DisableDelayedExpansion EnableExtensions
|
||||||
|
|
||||||
@if "%~f0"=="%~dpnx0" (
|
@if "%~f0"=="%~dpnx0" (
|
||||||
set ^"$p=%%<nul"
|
set ^"$p=%%<nul"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue