Hi noah,
you are right, I missed the SetEnvironmentVariable("my_percent", "%") part.
It works, but I still prefer a single batch line only solution.
I don't like the %=exitcode:~,0%, as it depends on a system variable, but I didn't find a better solution.
jeb
Execute UNC path containing literal %, in command line mode
Moderator: DosItHelp