Variable expansion #43
andry81
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Both regular and delayed variable expansion has issues.
Tests
https://github.com/andry81/contools--debug/tree/HEAD/test_expand_regular_var.bat
https://github.com/andry81/contools--debug/tree/HEAD/test_expand_delayed_var.bat
https://github.com/andry81/userbin/tree/HEAD/scripts/bat/rem-echo.bat
Results:
test_expand_regular_var.bat:
test_expand_delayed_var.bat:
Note
?.variable into a childcmd.exeprocess command line (2d example with old environment reveals it).Beta Was this translation helpful? Give feedback.
All reactions