Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: C:\Documents is not recognised as an internal or external command, program or batchfile.

by jimbojones (Friar)
on Apr 14, 2005 at 21:03 UTC ( #447969=note: print w/ replies, xml ) Need Help??


in reply to Re: C:\Documents is not recognised as an internal or external command, program or batchfile.
in thread C:\Documents is not recognised as an internal or external command, program or batchfile.

Hi

I tried this for the $^X example above, and it doesn't help. I wish it did.
C:\Documents and Settings\jim>set PATH=C:\progra~1\perl\bin;%PATH% C:\Documents and Settings\jim>which perl.exe C:\progra~1\perl\bin\perl.exe C:\Program Files\Perl\bin\\perl.exe C:\Documents and Settings\jim>perl -e "print $^X" C:\Program Files\Perl\bin\perl.exe C:\Documents and Settings\jim>
I also tried updating Config.pm to have C:/progra~1/perl. This also didn't help.

- j


Comment on Re^2: C:\Documents is not recognised as an internal or external command, program or batchfile.
Select or Download Code
Re^3: C:\Documents is not recognised as an internal or external command, program or batchfile.
by PodMaster (Abbot) on Apr 15, 2005 at 01:16 UTC
    Try
    use Win32; use Config(); use File::Spec; $^X = Win32::GetShortPathName($^X); do File::Spec->catfile( $Config::Config{bin}, 'cpan.bat' );
    Might also want to give CPANPLUS a try.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2014-04-17 19:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (454 votes), past polls