bitman has asked for the wisdom of the Perl Monks concerning the following question:
The short-name lookup didn't appeal, thought very interesting\\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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: System substitution2
by BrowserUk (Patriarch) on Nov 20, 2002 at 15:14 UTC | |
|
Re: System substitution2
by bitman (Scribe) on Nov 20, 2002 at 15:46 UTC |