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
|ncftpget copy files from remote server to my local drive||4||47|
|Excel: Move files in a folder||8||71|
|Need some help in Batch file assigning variable value ?||4||66|
|knowing when local account expires (Windows Server OS-DOS)||5||33|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
9 Experts available now in Live!