It's UWAweek 48


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 1 other person reading this forum.

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

Login to reply

4:29pm Tue 4th Oct, Christopher M.

I've never seen the acronym CML before; guessing CoMmand Line?? Where did you see CML? ANONYMOUS wrote:
> In the answer to another question a couple of days ago, I saw the filelist on the CML is just a list of names such as file1 file2 dir1 file3 dir2. > > Would these names be represented as full pathnames?
Could be (full) absolute pathnames, or relative pathnames. It does not matter.
> If not do we somehow have to iterate through all directories on the computer to find a match?
No, you can 'convert' them all to absolute pathnames with the realpath() function - see the project sheet. Searching a computer's whole file-system could take minutes!
> In addition, if a filename is on the CML does this mean it is within the current directory?
No, it could be anywhere in the file-system.

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