Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Finding Current directory??

Reply
Thread Tools

Finding Current directory??

 
 
Advocated
Guest
Posts: n/a
 
      12-29-2003
Just wondering, is there a way to find the current directory? well, i mean
whats the best way to go about it?

Cheers


 
Reply With Quote
 
 
 
 
Arthur Gold
Guest
Posts: n/a
 
      12-29-2003
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

 
Reply With Quote
 
 
 
 
CBFalconer
Guest
Posts: n/a
 
      12-29-2003
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 () ()
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!


 
Reply With Quote
 
Advocated
Guest
Posts: n/a
 
      12-29-2003

"CBFalconer" <> wrote in message
news:...
> 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 () ()
> 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?



 
Reply With Quote
 
Kevin Goodsell
Guest
Posts: n/a
 
      12-29-2003
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using the current method name within current method Matthew Heidemann Ruby 14 03-22-2011 03:56 AM
printing out the current URL for current ASP page in Perl Jack Perl Misc 3 12-22-2008 02:35 PM
Thread.current.parent and Thread.current.ancestors ara.t.howard@noaa.gov Ruby 3 02-16-2007 03:34 PM
How to update the current web page? (delete current web page + rewrite the page) laryten@yahoo.com Javascript 3 10-12-2006 07:33 PM
How to change the current thread current culture at run time. Manu ASP .Net 1 07-20-2003 03:27 PM



Advertisments