in reply to spawning a cmd.exe and be able to send commands

Have you thought about Win32::Process (which you already have on ActivePerl) ?

It doesn't really perform the task as described by you - but it would enable you to run "some commands one by one".

Cheers,
Rob
  • Comment on Re: spawning a cmd.exe and be able to send commands