Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Command prompt q.

by poj (Priest)
on Jun 04, 2012 at 11:30 UTC ( #974272=note: print w/ replies, xml ) Need Help??


in reply to Command prompt q.

Click Windows Start on the task bar and type cmd in the "Search programs and files box" and press Enter. That should open a DOS window with the prompt C:\Users\yourname>
Type perl -v to check your Perl is installed OK.
Type dir process2.pl to check your program is there or dir to see all files.
poj


Comment on Re: Command prompt q.
Select or Download Code
Re^2: Command prompt q.
by jonabb (Novice) on Jun 04, 2012 at 13:56 UTC

    Thanks. Yes, I've now got the DOS window with the prompt you mention. So that resolves the issue I was faced with.

    However, when entering  perl -v I get the message  perl  is not recognised ... , so I guess I have not installed it correctly.

    Will retry installation and get back if still having difficulty.

    Must sign off for the night now (Hong Kong time)

    Thanks.

      However, when entering perl -v I get the message perl is not recognised ... , so I guess I have not installed it correctly.
      Not necessarily. It just means that inside *that* shell where you had tried the command, it's not in the PATH. What happens if you use the absolute path to perl.exe? I guess you *know* where you had it installed to?


      -- 
      Ronald Fischer <ynnor@mm.st>

        Thanks for these comments.

        Now that I look more closely at the command prompt window, I see that it shows the path "C:\windows\system32\cmd.exe" (at the top border of the window frame)

        Whereas i am running 64-bit Windows, and the Active Perl is the 64-bit version

        So i need to somehow change the path name. How do I do that, pls?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://974272]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (15)
As of 2014-10-21 13:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (103 votes), past polls