Path: 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 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)