in reply to Re: [OT] Invoking Perl via batchfile: ampersand in PATH
in thread [OT] Invoking Perl via batchfile: ampersand in PATH [Solved]

Hello Discipulus,

Thanks for the reply. Unfortunately, it doesn’t help. :-( Adding %_TEST% in this way does succeed in getting the full directory name into the PATH variable; but the later %PATH% in the assignment still chokes on the ampersand, as before.

However, adding double quotes around the assignment does work, after all:

set "PATH=%drivep%\perl\site\bin;%drivep%\perl\bin;%drivep%\c\bin;%PAT +H%"

(I made a mistake when testing.)

Junction looks interesting. I’ll have to look into it.

Thanks,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,