Running script in DOS

How do I  run a script I created from a DOS window without OptiPerl being loaded to run the script? As an example, if I go to a command console window and enter my scirpt name to run, OptiPerl will load and then run my script. I just want the script to run without loading OptiPerl.

This happens because optiperl associates the .pl extension with itself. To remove the association, go to options dialog / perl / restore associations.

Or instead, you can run perl manually on the script. Instead of typing:
> myscript
> perl myscript

05.12.2003. 15:45

This article hasn't been commented yet.

Write a comment




1 + 8 =