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: Re: Duplicating a lock Message-ID: <1991Mar8.163917.5837@jato.jpl.nasa.gov> Date: 8 Mar 91 16:39:17 GMT References: <1991Mar7.165453.17302@jato.jpl.nasa.gov> <1991Mar8.005140.24418@watdragon.waterloo.edu> Reply-To: jdickson@jato.Jpl.Nasa.Gov (Jeff Dickson) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 8 In article <1991Mar8.005140.24418@watdragon.waterloo.edu> ccplumb@rose.uwaterloo.ca (Colin Plumb) writes: >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 I was after the non DOS library way of doing it.