Article View: comp.sys.amiga.tech
Article #8384Re: Access to the command path?
From: Aaron Avery
Date: Fri, 01 Apr 1988 10:18
Date: Fri, 01 Apr 1988 10:18
17 lines
1112 bytes
1112 bytes
In article <1782@sugar.UUCP>, schaub@sugar.UUCP (Markus Schaub) writes:
> Where can I find the current command path for a CLI instantiation?
> It must be a list of locks somewhere. I just didn't find the root.
> Any hints, ideas?
From the AmigaMail issue with the 1.2 updates in it:
The path list is held as a BPTR in the CommandDir member of the
CommandLineInterface structure. Each element of the path list consists of:
BPTR NextPath (BPTR to next list entry)
BPTR PathLock (a lock on the directory)
The CommandLineInterface structure for a dos process can be found via the
BPTR pr_CLI element in its Process structure.
Aaron Avery (avery@puff.cs.wisc.edu)
({seismo,caip,allegra,harvard,rutgers,ihnp4}!uwvax!puff!avery)
Technical Details
Message-ID:
<1532@puff.cs.wisc.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!uwvax!puff!averyReferences:
<1782@sugar.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!uwvax!puff!avery From: avery@puff.cs.wisc.edu (Aaron Avery) Newsgroups: comp.sys.amiga.tech Subject: Re: Access to the command path? Keywords: AmigaDOS PATH Message-ID: <1532@puff.cs.wisc.edu> Date: 1 Apr 88 10:18:11 GMT References: <1782@sugar.UUCP> Organization: U of Wisconsin CS Dept Lines: 17