Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Command prompt q.

by choroba (Abbot)
on Jun 04, 2012 at 09:41 UTC ( #974254=note: print w/ replies, xml ) Need Help??


in reply to Command prompt q.

What command do you type under W7?
Have you installed Perl to the new laptop? Which one (Strawberry, ActivePerl...)?


Comment on Re: Command prompt q.
Re^2: Command prompt q.
by jonabb (Novice) on Jun 04, 2012 at 10:19 UTC

    Thanks for responding

    The command I type is: "perl process2.pl *filename*.txt > *filename*.htm"

    I'm using perl to convert a text file to an htm file and to format it a certain way

    'process2.pl' is the file that contains the work done by my friend

    I have installed the latest version of ActivePerl

      Well, under cmd.exe that is an error, so what "Command Processor" are you using?

        I'm using the command prompt which now seems to go under the name "Windows Command Processor" (v 6.1.xx)

        It's that little window with the black background

      perl process2.pl *filename*.txt > *filename*.htm
      You are using wildcards in the redirection part??????

      What happens if you leave out the redirection?

      Can you access perl.exe, and can you access process2.pl? Also make sure that your working directory is one where you have write permission.
      -- 
      Ronald Fischer <ynnor@mm.st>

        No, sorry, I just meant to indicate that the actual filename goes in there.

        I should have said something like: "perl process2.pl abcd.txt > abcd.htm"

        (Didn't realise i was using convention for wildcard!))

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2014-12-25 00:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls