Another option would be to store the perl script in an environment variable and call it later:
REM MYVAR.BAT SET MYVAR=perl -we "print 'foobar'" CALL %MYVAR% PAUSE
In reply to Re: setting environment-variables
by Mr. Muskrat
in thread setting environment-variables
by tos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |