You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should use: for /R "%CYBERPUNKDIR%" %%F in (*.log *log.txt) do (
and set "relative_path=!relative_path:%CYBERPUNKDIR%=!"
Using delayed expansion in a substring operation can cause the variable substitution to malfunction, which it does here.
You should use:
for /R "%CYBERPUNKDIR%" %%F in (*.log *log.txt) do (and
set "relative_path=!relative_path:%CYBERPUNKDIR%=!"Using delayed expansion in a substring operation can cause the variable substitution to malfunction, which it does here.