Bash prompt error

  • viji19812001
  • Newbie
  • Newbie
  • viji19812001
  • Posts: 10

Post 3+ Months Ago

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.
  • Mr OBrien
  • Graduate
  • Graduate
  • User avatar
  • Posts: 186
  • Loc: down a creek without a paddle

Post 3+ Months Ago

try creating C:/program
and add perl to that directory
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

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.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 13 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.