in reply to .pl working fine but .exe not works
Please read Writeup Formatting Tips to see how you should effectively post code so that others can read it.
-David