Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!jato!jdickson From: jdickson@jato.jpl.nasa.gov (Jeff Dickson) Newsgroups: comp.sys.amiga.programmer Subject: Duplicating a lock Message-ID: <1991Mar7.165453.17302@jato.jpl.nasa.gov> Date: 7 Mar 91 16:54:53 GMT Reply-To: jdickson@jato.Jpl.Nasa.Gov (Jeff Dickson) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 12 Hi. I'm interested in obtaining a copy of the lock that corresponds to my current working directory. My thinking is to take CommandDir in the CLI structure, and send an ACTION_COPY_DIR DOS packet to the message port identified within it as fl_Task. CommandDir itself would be passed as DOS argument one. How does this sound? Jeff