in reply to Code to Open A File and Run Text From CMD Link

If the file has only CMD-prompt commands, then maybe you want to rename that file with the .bat extension and run it as a batch file from the prompt. Otherwise, maybe, well quite probably, Perl can do most of what you want to do through Perl's internal commands, without having to run a system call to execute a CMD-prompt command.
  • Comment on Re: Code to Open A File and Run Text From CMD Link