Help for this page

Select Code to Download


  1. or download this
          /* The NT cmd.exe shell has the following peculiarity that needs
    + to be
           * worked around.  It strips a leading and trailing dquote when 
    +any
    ...
           * always, making for the convolutions below :-(
           */
    
  2. or download this
      [ 12747] By: gsar                                  on 2001/10/28  18
    +:33:23
              Log: finishing touches to system() fixes on windows:
    ...
                   has spaces, but otherwise does not need shell involveme
    +nt
                   * add a testsuite (windows-specific currently)
    
  3. or download this
     my $cmd="\"C:\\progra~1\\accessories\\echo_arg.pl\" -fmt \"%[owner]p\
    +" vob:.";
     
     print "$cmd\n";
     print `$cmd`;
    
  4. or download this
     >perl test.pl
     "C:\progra~1\accessories\echo_arg.pl" -fmt "%[owner]p" vob:.
    ...
     %[owner]p
     vob:.
    
  5. or download this
     
     >C:\progra~1\perl560_623\bin\perl test.pl
     "C:\progra~1\accessories\echo_arg.pl" -fmt "%[owner]p" vob:.
     'C:\progra~1\accessories\echo_arg.pl" -fmt "%[owner]p' is not recogni
    +zed as an internal or external command, operable program or batch fil
    +e.