Just one quick note: I've seen a lot of people say that this is the way to run a
script from the command-line, but any script that you can run by double-clicking
should also be able to be run by just typing in the name of the script at the
command-line (provided you are in the same directory as the script).
The only time you should have to use the syntax "perl path\to\script.pl" is if you
don't have the file association set up correctly, for example if you decided to
compile your own Perl distribution instead of using ActivePerl or another pre-packaged
Win32 distribution. But if that's the case, then you won't be able to double-click
anyway.
-----Original Message-----
From: Toby Stuart [mailto:[EMAIL PROTECTED]
Sent: Sun 7/11/2004 11:34 PM
To: 'Marco Perl'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Could you please help with a PERL/TK question.
<snip>
To run the script directly from cmd shell ie. click "Start" and then select
"Run" and type "cmd". The cmd shell appears. Then type: perl
path\to\my\script.pl