Hi David,
I have found the 'File Types' and the path was already set to:
D:\perl\bin\perl.exe %1 %*
but this command line doesn't work:
perl -e 'print"It worked\n";'
I get the same 'perl is not recognised as an internal or external command 
......'

Any ideas ????

Cheers
Anadi


> >Anadi,
> >     Let's tackle the command line issue first.
> >go to :
> >My Computer
> >View
> >Options
> >File Types
> >Find Perl, .pl extension in list
> >(if you cannot find a perl extension {.pl} you need to make a file
> >association, but activestate's installer should have done this for you)
> >Edit the file type
> >Edit the 'Open' action
> >Add (after C:\perl\bin\perl.exe)
> >%1 %*
> >so you have:
> >C:\perl\bin\perl.exe %1 %*
> >This will allow command line parameters to be passed to your perl 
>scripts.
> >Open a dos window and try:
> >perl -e '
> >print"It worked\n";'
> >
> >Let me know how you make out
> >-David
> >-----Original Message-----
> >From: A Taylor [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, June 18, 2002 9:32 AM
> >To: [EMAIL PROTECTED]
> >Subject: running perl scripts on Windows
> >
> >
> >Hi all,
> >I am runing a windows 2000 server and I have just installed perl that I 
>got
> >from ActiveState.com. I have been playing and have come up against a few
> >problems.
> >
> >1) It seems that writing perl scripts with embedded HTML is more like
> >writing 'Microsoft Active Server Pages' in Perl, using <% and %> to embed
> >the perl script. These scripts are then saved as .asp files. This is not
> >what I am used to, is there any way I can write my usual perlscripts
> >(without using <% and %>) and save them as .pl, and then run that script 
>on
> >my Windows 200 server ?????
> >
> >2) The second problem I am up against is: It says in the setup procedure
> >(at
> >www.activestate.com) that I should be able to run perl scripts from my
> >command prompt ????? I dont seem to be able to do this.
> >
> >Has any one any advise they can share ???? Any help would be much
> >appreciated as I am now past the 'Pulling my hair out' stage !!!! ;-(
> >
> >Thanks for all your help
> >
> >Anadi
> >
> >_________________________________________________________________
> >Send and receive Hotmail on your mobile device: http://mobile.msn.com
> >
> >
> >--
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
>_________________________________________________________________
>Join the world’s largest e-mail service with MSN Hotmail.
>http://www.hotmail.com
>
>


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to