Have you checked that Perl has been added to your system path?
In Win2k, use the Environment Variable button on right-clicking
the My Computer icon. In Win95/98, edit your autoexec.bat and
add SET PATH=%PATH%;C:\perl\bin where C:\perl\bin is the path
to your perl\bin.
You can then type perl C:\myfile.pl at the command line and it should
work, provided C:\myfile.pl is there....
hth
Lee
At 20:10 23/01/2031 -0500, James D Carella wrote:
>Hello,
> Can someone help me please? I am definitely starting out in the
>programming thing and I am trying and learning Perl. I have downloaded
>the newest version and to my knowledge it has been installed correctly.
>What I need help with is the DOS command line part of a simple script. I
>will write the script in Notepad and then save it correctly. When I go
>to open it in the DOS command prompt it wont work and it just keeps on
>saying something like "Bad command or file name". I can't seem to just
>run it in the DOS command prompt and when I find the file in Microsoft
>Explorer and double-click it it seems to run by opening a DOS window and
>flashing quickly the script that I wrote in Notepad. So I have said all
>that to say this; that is it supposed to flash that DOS window with the
>script in it? And also please tell me what to do with running it from
>the DOS command line. For anyone' s information, I am using a tutotial
>from programmingtutorials.com under Perl tutorials. It is the first
>tutorial and it is titled something like "Robert's Perl Tutorial". Sorry
>to be so detailed. This the only way to ask for help. E-mail me back at
>[EMAIL PROTECTED]
>
>
> Sincerely,
>
>
> James Carella
>
>
>_______________________________________________
>Perl-Win32-Users mailing list
>[EMAIL PROTECTED]
>http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users