Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FOR %%p IN ("%%d\%PATCH_FILES%") DO (
- :: ugly workaround for MS bug related to delayed expansion
- SETLOCAL DISABLEDELAYEDEXPANSION
- SET foo=%%p
- SETLOCAL ENABLEDELAYEDEXPANSION
- %PATCH_CMD% < "!foo!" | %TEE_CMD%
- PAUSE
- ENDLOCAL
- ENDLOCAL
- )
Add Comment
Please, Sign In to add comment