Path: 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 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: 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!"