Path: utzoo!attcan!uunet!mcsun!hp4nl!dnlunx!martijn From: martijn@dnlunx.pttrnl.nl (Reinalda M.) Newsgroups: comp.sys.amiga.tech Subject: Re: NCD on Amiga? Message-ID: <4961@dnlunx.pttrnl.nl> Date: 14 Dec 90 08:30:26 GMT References: <4411@dnlunx.pttrnl.nl> <1168@teslab.lab.OZ> Organization: PTT Research Neher Laboratorium Lines: 53 andrew@teslab.lab.OZ (Andrew Phillips) writes: >In article <4411@dnlunx.pttrnl.nl> martijn@dnlunx.pttrnl.nl (Reinalda M.) writes: >>Does anyone know if there's a change dir command for the amiga >>like the MS-DOS (bwaah!) Norton Change Dir (NCD). >>NCD creates an image of the hard-disk directory structure, so it >>can immediately change to a given dir. Well, most of us are unhappy >>enough to work with PC's in the (un)real world so you'll probably know >>what NCD does. >Unfortunately I have worked with MSDOS on and off for 8 years but I >haven't used NCD. I presume it has a TSR part which stores an image >of the whole hard disk directory structure in memory. Then the NCD >command itself accesses this so that you can change to another >directory immediately by not having to scan all the disk directories >in the specified path. >Fortunately the Amiga has a different disk format so that it does not >need to scan a whole directory to find an entry. So when you do a > CD \APP\WIN\SYSTEM >under MSDOS, CD has to do three (linear) searches of three >directories. (If one or more of these directories are very large it >can take a long time.) On the other hand on the Amiga a similar CD >would not require linear searches (it uses a hash table) and so would >be relatively instantaneous. >So the answer is that the Amiga disk format makes an Amiga NCD unnecessary. >Andrew Phillips (andrew@teslab.lab.oz.au) Phone +61 (Aust) 2 (Sydney) 289 8712 I'm sorry, maybe I didn't make myself clear or you're just missing the point. Example : Let's say there's a directory DH0:programs/graphics/sculpt/objects Then I wanna type : NCD objects and the computer should automaticaly know where that directory is located ( I don't care how) and perform a : CD dh0:programs/graphics/sculpt/objects It also should not matter in what directory I am on the moment of giving the NCD command. *********************************************************************** ** Keyboard error or no keyboard present. Press any key to continue. ** ** IBM. ** *********************************************************************** ** E-mail : martijn@DNLUNX.UUCP ** ***********************************************************************