in reply to Re^2: executing commands in cmd using perl
in thread executing commands in cmd using perl

Are you sure you need to open cmd.exe and then execute a command in it? Perl can issue a command to windows, even run a dos/windows .bat file without having to run cmd.exe. Perhaps you should tell a bit more specifically what you want to do rather than asking us how to do it the way you think it might be done. This looks like a case of XY Problem.

Replies are listed 'Best First'.
Re^4: executing commands in cmd using perl
by Sudhk (Initiate) on Dec 30, 2014 at 19:22 UTC
    You are right man.But thanks for the support of the perl monks community I got the work done.In future before asking something from you guys I will take care of the xy problem that you mentioned.