Article View: comp.sys.amiga.tech
Article #5809Re: CurrentDir
From: Brian Jackson
Date: Thu, 11 Oct 1990 17:55
Date: Thu, 11 Oct 1990 17:55
20 lines
1381 bytes
1381 bytes
In article <1990Oct11.012013.24234@hoss.unl.edu> 252u3130@fergvax.unl.edu (Phil Dietz) writes:
>I'm using Lattice 'C' and I'm changing the current directory in it.
>Well, when the program quits, the SHELL path and the current directory
>are off. I need to find out what the command is to read the name
>of the current directory so I can chdir to it at the end of the program.
>
You don't say what version of Lattice you are using. The getcd() call
is what you want.
>Phil Dietz
bj
-----------------------------------------------------------------------
| Brian Jackson Software Engineer @ Commodore-Amiga Inc. GEnie: B.J. |
| bj@cbmvax.commodore.com or ...{uunet|rutgers}!cbmvax!bj |
| "Caught in the vice of heaven and earth, |
| he turned his life into a cell" |
-----------------------------------------------------------------------
Technical Details
Message-ID:
<15091@cbmvax.commodore.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!rutgers!cbmvax!bjReferences:
<1990Oct11.012013.24234@hoss.unl.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!rutgers!cbmvax!bj From: bj@cbmvax.commodore.com (Brian Jackson) Newsgroups: comp.sys.amiga.tech Subject: Re: CurrentDir Message-ID: <15091@cbmvax.commodore.com> Date: 11 Oct 90 17:55:40 GMT References: <1990Oct11.012013.24234@hoss.unl.edu> Reply-To: bj@cbmvax.commodore.com (Brian Jackson) Organization: Commodore, West Chester, PA Lines: 20