Newsgroups: comp.sys.amiga.programmer
Path: utzoo!utgpu!watserv1!watdragon!rose!ccplumb
From: ccplumb@rose.uwaterloo.ca (Colin Plumb)
Subject: Re: Duplicating a lock
Message-ID: <1991Mar8.005140.24418@watdragon.waterloo.edu>
Sender: daemon@watdragon.waterloo.edu (Owner of Many System Processes)
Organization: University of Waterloo
References: <1991Mar7.165453.17302@jato.jpl.nasa.gov>
Date: Fri, 8 Mar 1991 00:51:40 GMT
Lines: 9

jdickson@jato.Jpl.Nasa.Gov (Jeff Dickson) wrote:
>	Hi. I'm interested in obtaining a copy of the lock that corresponds
>to my current working directory.

The easiest way to get a (new) lock on the current directory is to
Lock("", MODE_OLDFILE);
i.e. ask for a lock on the null filename.
-- 
	-Colin
