in reply to Re: A few random questions.
in thread A few random questions.

That works great but I cannot seem to feed the command I want to the newly spawned command prompt. What would the syntax be for that?

system("perl -e\"system 'start cmd';\" /c perl \"$filename\"");
I have tried the preceeding code and a few other variations but have been unsuccesfull.