in reply to Re^2: diskpart.exe and perl
in thread diskpart.exe and perl

< quasi-snide>Perhaps you mistakenly believed PM to be a fee-free, script-writing service?</q-snide>

Customarily, you'll get more useful assistance (which we do offer, freely, and often with real pleasure) if you

I'd suggest you update your original node (update! not replace) with at bit more info... the above, plus what diskpart.exe expects as input and perhaps what its output looks like... and perhaps some code that reflects your attempt to understand and act on shmem's suggestion.

Replies are listed 'Best First'.
Re^4: diskpart.exe and perl
by neo1491 (Beadle) on Nov 10, 2007 at 23:24 UTC
    my apologies... i certainly didn't mean to offend. just didn't understand the response and was making a joke. i am just learning perl and don't want to take up too much of anyone's time. my original attempt to send a command to diskpart.exe looked something like this:
    open ( FH , "diskpart rescan|" ) || die ( "Failed to open filehandle.\ +n" ) ; my @inFile = <FH> ; # read all at once into array foreach (@inFile){ print $_."\t"; }
    Being a novice to Perl, I sometimes don't know when a question I have may be totally idiotic so I try to keep my questions short. Again, no offense intended.