and it works as expected. But if instead of abcde I have a string with & inside,
set p=abcde call :mysub %p% exit /b :mysub echo %1
it does not work, as I understand because & is interpreted as escape character. I tried to put various numbers of ^ before & in line 1, but nothing works.
set p=ab&de call :mysub %p% exit /b :mysub echo %1
|robocopy for today files||14||139|
|Batch / VB Script: copy rename and zip folders.||28||209|
|DOS Command to remove CR/LF to have one id and one text per line||13||58|
|How can i echo a ! to end of a file?||8||16|