It's UWAweek 48

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

Displaying selected article
Showing 1 of 919 articles.
Currently 3 other people reading this forum.


 UWA week 40 (2nd semester, week 10) ↓
SVG not supported

Login to reply

👍?
helpful
9:18am Thu 6th Oct, Christopher M.

"Cohen Rafiq" <23*4*9*[email protected]*u*e*t*u*a*e*u*a*> wrote:
> Hi, I was doing the project and I kept getting errors about opening directories and I soon found out that it was because my directory names have spaces in them. Is there a way to solve this? I tried just adding quoted in the command line but when I tried going inside the directory and passing the realpath it removes the quotes which throws an error again. I couldn't find any information about this on the lectures so I was wondering if I could get some advice.
There is nothing wrong with having spaces in a file or directory name; it must be your code that is trying to find/break file or directory names into words or tokens. If you place double quotes around multiple words on the command-line: program "word1 word2 word3" then the shell removes the double quotes and passes it all as a single argument to the program.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy