Help for this page

Select Code to Download


  1. or download this
    my $diskpart_out = `echo $diskpart_cmd|diskpart`;
    
  2. or download this
    open ( FH , "diskpart rescan|" ) || die ( "Failed to open filehandle.\
    +n" ) ;
              my @inFile = <FH> ; # read all at once into array
    ...
              {
              print $_."\t"; 
              }