Help for this page

Select Code to Download


  1. or download this
    C:\test>assoc .pl
    .pl=perl_script
    
    C:\test>ftype perl_script
    perl_script=e:\perl\bin\perl.exe -w %1 %*
    
  2. or download this
    @rem = '--*-Perl-*--
    @echo off
    if "%OS%" == "Windows_NT" goto WinNT
    
  3. or download this
    goto endofperl
    :WinNT
    
  4. or download this
    if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
    if %errorlevel% == 9009 echo You do not have Perl in your PATH.
    ...
    @rem ';
    #!perl
    #line 15