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

How do you feel about it? My intention was to help. I don't know what diskpart.exe expects or sends, but IPC::Open2 is the right tool to deal with input and output to/from an external program.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Replies are listed 'Best First'.
Re^4: diskpart.exe and perl
by neo1491 (Beadle) on Nov 10, 2007 at 22:28 UTC
    ah, i didn't see the "use IPC::Open2;". that's exactly what i was looking for... thank you!!!
Re^4: diskpart.exe and perl
by neo1491 (Beadle) on Nov 10, 2007 at 22:20 UTC
    in that case, thank you very much although i don't understand it. i'll spend some time and try to make sense of it.