\\PRIMARY\PERL5005\BIN\perl -x -S "%0" %* if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl if %errorlevel% == 9009 echo You do not have Perl in your PATH. goto endofperl @rem '; #!perl -w $ENV{TYPE}=q("c:\scotts test\type me"); $new_debug_log=q("c:\scotts test\type me.bat"); my $rc = system("$ENV{TYPE} $new_debug_log"); __END__ :endofperl