Fix find path
This commit is contained in:
parent
eff6a83004
commit
16b5b97f44
@ -96,7 +96,7 @@ set "FIND_STR=!FIND_STR:~1,-1!"
|
|||||||
set REPLACE_STR=%2 %3
|
set REPLACE_STR=%2 %3
|
||||||
set "REPLACE_STR=!REPLACE_STR:~1,-2!"
|
set "REPLACE_STR=!REPLACE_STR:~1,-2!"
|
||||||
|
|
||||||
for /f "delims=" %%i in ('type "%OUT_PATH%" ^| find /n /v "" ^& break ^> "%OUT_PATH%" ') do (
|
for /f "delims=" %%i in ('type "%OUT_PATH%" ^| C:\Windows\System32\find.exe /n /v "" ^& break ^> "%OUT_PATH%" ') do (
|
||||||
set "line=%%i"
|
set "line=%%i"
|
||||||
setlocal enableDelayedExpansion
|
setlocal enableDelayedExpansion
|
||||||
set "line=!line:*]%FIND_STR%=%REPLACE_STR%!"
|
set "line=!line:*]%FIND_STR%=%REPLACE_STR%!"
|
||||||
|
Loading…
Reference in New Issue
Block a user