|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
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 c
erlbin 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. |
|
#2
|
|||
|
|||
|
You should just be able to go
'perl script.pl' I think somebody posted a thread about this earlier. Something about adding a PATH in you autoexec.bat |
|
#3
|
|||
|
|||
|
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.
Ton |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > perl win 98:Almost there |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|