cmd.exe ## running the batch file perl.exe ## running -e ... system() cmd.exe ## 2 #### Terminate batch job (Y/N)? #### cmd.exe ## running the batch file cmd.exe ## 2 #### 'y' is not recognized as an internal or external command, operable program or batch file. c:\tmp> #### c:\tmp>dir Terminate batch job (Y/N)? #### Terminate batch job (Y/N)? exit Terminate batch job (Y/N)? y c:\test>