Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!peter From: peter@sugar.hackercorp.com (Peter da Silva) Newsgroups: comp.sys.amiga.tech Subject: Current Directory. Message-ID: <6961@sugar.hackercorp.com> Date: 1 Nov 90 23:50:48 GMT References: <87.272D0968@myamiga.UUCP> <1990Nov01.061846.27994@hoss.unl.edu> <1990Nov1.181023.21485@jato.jpl.nasa.gov> Reply-To: peter@sugar.hackercorp.com (Peter da Silva) Organization: Sugar Land Unix - Houston Lines: 15 In article <1990Nov1.181023.21485@jato.jpl.nasa.gov> jdickson@jato.Jpl.Nasa.Gov (Jeff Dickson) writes: > copy /usr/local/bin/somefile . > Under AmigaDOS you have to use the actual name or more of some kind > of convoluted name (slashes '/' and subdirectory names). "Null" is the name of the current directory. So try: copy user:local/bin/somefile "" (note that you can open a lock into a file by doing CurrentDir(lock) and Open(""), one of the less weird things I do in Browser) -- Peter da Silva. `-_-' .