× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Scott,

>> 1) if i specify a directory in chdir() or opendir() that begins with a
>> slash(/), it will not use the home directory as part of the path?

>True.

>> 2) if I do NOT have an opening slash(/), it will prepend the home
directory
>> to it?

>No, it will prepend the "current working directory" to it.  When you sign
>on, your current working directory is set to your home directory, but it
can
>be changed in the course of the job.

got it!  thanks.

> You can also explicitly specify that you want to start with the current
> directory by starting with dot-slash.  For example:

>              './somedir/somedir/myfile.txt'

that's good to know.

>If it helps... the "current directory" works exactly the same way in the
>IFS as it does on MS-DOS and Unix systems.  Including the Windows 2000/XP
>"Command Prompt."   But, I'm guessing that you haven't had much exposure
>to working with command-line interfaces on the PC?

you'd guess right.  I try to avoid it, but sometimes unsuccessfully ;)

Thanks again,

Rick

"I've been ordered to take you down to the bridge. Here I am, brain the
size of a planet and they ask me to take you down to the bridge. Call that
job satisfaction? 'Cos I don't." - Marvin the paranoid android



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.