in reply to Re^2: 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.

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.

  • Comment on Re^3: C:\Documents is not recognised as an internal or external command, program or batchfile.
  • Download Code