September 30th, 2000, 07:42 PM
when i got to the command line from desktop i get c:windows desktop, when i use windows explorer and have the perl bin directory open i can go to start, command and then i get cerlbin perl "whatever script".pl and will execute the script. my ? is, is this correct or should i be able to go directly from my desktop to perl through the command line or will i always have to open the bin directory first.
September 30th, 2000, 08:55 PM
You should just be able to go
I think somebody posted a thread about this earlier. Something about adding a PATH in you autoexec.bat
October 2nd, 2000, 08:02 AM
I think you should associate the .pl extension with the perl executable. Or, if you have the Active State perl port, use the pl2bat program to turn your .pl file into a .bat file (it just adds a couple of lines at the beginning to call the Perl executable on itself and passes any arguments). Then you don't even have to open a commandprompt anymore, just doubleclick the file and go.