By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,849 Members | 2,164 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,849 IT Pros & Developers. It's quick & easy.

Finding Current directory??

P: n/a
Just wondering, is there a way to find the current directory? well, i mean
whats the best way to go about it?

Cheers
Nov 14 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Advocated wrote:
Just wondering, is there a way to find the current directory? well, i mean
whats the best way to go about it?


Alas the `best' way -- indeed *all* ways -- of doing so fall outside of
the purview of the standard C language, which knows not of directories,
current or otherwise.

Please ask in a forum dedicated to your particular platform.

HTH,
--ag
--
Artie Gold -- Austin, Texas

Nov 14 '05 #2

P: n/a
Advocated wrote:

Just wondering, is there a way to find the current directory?
well, i mean whats the best way to go about it?


Probably by asking in a newsgroup dedicated to your operating
system etc. This is not it.

--
Chuck F (cb********@yahoo.com) (cb********@worldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!
Nov 14 '05 #3

P: n/a

"CBFalconer" <cb********@yahoo.com> wrote in message
news:3F***************@yahoo.com...
Advocated wrote:

Just wondering, is there a way to find the current directory?
well, i mean whats the best way to go about it?


Probably by asking in a newsgroup dedicated to your operating
system etc. This is not it.

--
Chuck F (cb********@yahoo.com) (cb********@worldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!


What about setting it up yourself? So when the program loads its in a
directory you specify; maybe as a string?

Nov 14 '05 #4

P: n/a
Advocated wrote:


What about setting it up yourself? So when the program loads its in a
directory you specify; maybe as a string?


There is no portable, standard way to do anything at all involving
directories. The C language does not support the concept of a directory
in any way. That's why you should ask in a group that deals with your
particular operating system.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Nov 14 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.