in reply to selecting specific command prompt from multiple command promt

Hi, not really sure what you want to do, but you can definitely launch another command prompt process from your Perl script, including launching a command.bat or another Perl script within that new command prompt. For example:
# Outer Perl script # do something and set $arg to something my @inner_script_result = `perl ./inner_script.pl $arg`; # ...