Article View: comp.sys.amiga.tech
Article #3737Re: Lattice question: is there a "link"
From: Chuck McManis
Date: Thu, 31 May 1990 20:00
Date: Thu, 31 May 1990 20:00
19 lines
1469 bytes
1469 bytes
In article <2474@awdprime.UUCP> robin@sabre.austin.ibm.com (Robin D. Wilson/1000000) writes:
>According to the lattice manual, the rename(old,new) call will rename old
>to new. Unfortunately, it will not remove new, if it exists, and it will
>not allow you to specify a path to "new".
You are doing the rename on the same Volume yes? If you rename from
Foo:A to Foo:B then A should be removed. If you rename from Foo:A to
Bar:B then what you get is a copy of A to B, and A is not deleted.
You could try Execute("rename A as B", 0, 0); paying attention to the
problems that Execute entails when you are not running from a CLI
and need to know the result of the operation.
--
--Chuck McManis Sun Microsystems
uucp: {anywhere}!sun!cmcmanis BIX: <none> Internet: cmcmanis@Eng.Sun.COM
These opinions are my own and no one elses, but you knew that didn't you.
"I tell you this parrot is bleeding deceased!"
Technical Details
Message-ID:
<136448@sun.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!clyde.concordia.ca!mcgill-vision!snorkelwacker!bu.edu!orc!decwrl!shelby!agate!bionet!ames!sun-barr!newstop!sun!stpeter.Eng.Sun.COM!cmcmanisReferences:
<2474@awdprime.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!clyde.concordia.ca!mcgill-vision!snorkelwacker!bu.edu!orc!decwrl!shelby!agate!bionet!ames!sun-barr!newstop!sun!stpeter.Eng.Sun.COM!cmcmanis From: cmcmanis@stpeter.Eng.Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga.tech Subject: Re: Lattice question: is there a "link" Keywords: lattice, link, rename. Message-ID: <136448@sun.Eng.Sun.COM> Date: 31 May 90 20:00:32 GMT References: <2474@awdprime.UUCP> Sender: news@sun.Eng.Sun.COM Organization: Sun Microsystems, Mt. View, Ca. Lines: 19