Article View: comp.sys.amiga.tech
Article #6265Current Directory.
From: Peter da Silva
Date: Thu, 01 Nov 1990 23:50
Date: Thu, 01 Nov 1990 23:50
15 lines
1109 bytes
1109 bytes
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>.
Technical Details
Message-ID:
<6961@sugar.hackercorp.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!peterReferences:
<87.272D0968@myamiga.UUCP> <1990Nov01.061846.27994@hoss.unl.edu> <1990Nov1.181023.21485@jato.jpl.nasa.gov>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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