Bash prompt error

  • viji19812001
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Dec 23, 2008
  • Posts: 10
  • Status: Offline

Post December 29th, 2008, 8:20 pm

Hi,

I trying to run a make command in bash prompt and gives the following error everytime.

"cant open perl script "C:\program " no such file or directory.

I have installed perl and it is present in c:/perl folder. I have added it to the path variable also. Still the error comes.

Also there is no C:program directory ..there is only C: program files.....

Not sure what the error is pointing to.

Please help resolve the error.

Regards,
vijaya.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post December 29th, 2008, 8:20 pm

  • Mr OBrien
  • Graduate
  • Graduate
  • User avatar
  • Joined: Aug 05, 2008
  • Posts: 154
  • Loc: down a creek without a paddle
  • Status: Offline

Post December 29th, 2008, 10:41 pm

try creating C:/program
and add perl to that directory
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
AIM ME Screenname=BLAKECORYOBRIEN
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post December 30th, 2008, 4:31 am

Use double quotes around the path or escape the spaces in it with a back-slash.

Code: [ Select ]
"c:/program files/perl/script.pl"

Code: [ Select ]
c:/program\ files/perl/script.pl


Whatever you're entering the path to the script into is probably getting to the space in the filename between program and files thinking it's the end of the argument/filename.
Strong with this one, the sudo is.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 123 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.