[comp.sys.amiga.tech] Current Directory.

peter@sugar.hackercorp.com (Peter da Silva) (11/02/90)

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.   `-_-'
<peter@sugar.hackercorp.com>.