Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!uwvax!astroatc!nicmad!madnix!jason From: jason@madnix.UUCP (Jason Blochowiak) Newsgroups: comp.sys.apple Subject: Re: 5.0.2 Finder Bugs Summary: I found a kind of neat one... Message-ID: <1190@madnix.UUCP> Date: 19 Mar 90 11:17:04 GMT References: <25fed47d.217d@polyslo.CalPoly.EDU> Reply-To: jason@madnix.UUCP (Jason Blochowiak) Organization: ARP Software, Madison, WI Lines: 23 Fun with the Finder... Open up a disk (preferably a RAMdisk - I'm not sure what this does to memory), and create a new folder on it. Then rename the folder "dir". Create a junk file on the drive (you can just copy some small file onto it), and rename that "file". Now, select "file", and pick "Duplicate" from the File menu. When asked for the name, type "dir:file", and hit Ok. It'll work for a short time (duplicating the file), and then you'll see a file in the window named "dir:file". Now, close the window. Then re-open the same window. "dir:file" is gone (gasp!). Now open "dir" - there's "file". I'd recommend re-booting after this, as I have no idea how confused the Finder gets by this (if it gets confused at all...). Why this happens: The colon (':') is used to separate entries in a pathname. So, ":RAM5:dir:file" describes the file "file" in the folder "dir" on the volume ":RAM5", and ":RAM5:file" describes the file "file" on the volume ":RAM5". Now, when you tell it to duplicate "file" as "dir:file", you're telling it to copy ":RAM5:file" to ":RAM5" + "dir:file" = ":RAM5:dir:file". So, it does that part properly, but it forgets to stick the icon for the file somewhere else... -- Jason Blochowiak - jason@madnix.UUCP or, try: astroatc!nicmad!madnix!jason@spool.cs.wisc.edu "Education, like neurosis, begins at home." - Milton R. Saperstein