Hi!

        "assoc " and "ftype" commands are used to associate extension for
particular file types..


>Is there a way to run my script without specifying "Perl" before the
script? In other words, I want to type c:\myscript.plx >instead of c:\perl
myscript.plx.

        yes you can, try "assoc /?" and  "ftype /?" it'll tell  how to associates
file types.

HTH
Raymond

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 21, 2004 8:37 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Two easy questions.


You appear to be on a Windows system. The file  extensions on Windows are
for
association. Hence, to answer your second question  first, if you're on
ActiveState Perl, all .pl extensions are automatically  associated with
perl, if
you did it right, and just typing 'foo.pl' in the shell  should run it.
.cgi,
.pl, etc. It doesn't matter to the interpreter. It may  however matter to
how it
is treated by the OS and other programs, such as a  server.

--
-will
http://www.wgunther.tk
(the above message is  double rot13 encoded for security reasons)

Most Useful Perl  Modules
-strict
-warnings
-Devel::DProf
-Benchmark
-B::Deparse
-Data::Dumper
-Clone
-Perl::Tidy
-Beautifier
-DBD::SQLite


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to