Path: utzoo!attcan!uunet!mcsun!isgate!krafla!frisk From: frisk@rhi.hi.is (Fridrik Skulason) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: How to rename directories and computer info Keywords: rename, processor Message-ID: <1634@krafla.rhi.hi.is> Date: 13 Apr 90 12:01:04 GMT References: <19580@boulder.Colorado.EDU> <9065@chaph.usc.edu> Reply-To: frisk@rhi.hi.is (Fridrik Skulason) Organization: University of Iceland (RHI) Lines: 26 In article <9065@chaph.usc.edu> wilber@sal-sun31.usc.edu (John Wilber) writes: >In article <19580@boulder.Colorado.EDU> grandin@tramp.Colorado.EDU (Keith Grandin) writes: > >> 1 - Is there a way to do a real move of files? I would like to > >With one function call, I don't think so, It is possible. INT 21H, function 56H will allow you to move a file, provided the disks are the same. It is just the fault of COMMAND.COM that you cannot do this very easily. I once wrote a tiny utility (in assembly) that would do just this: MV /SUBDIR1/*.C /SUBDIR2/*.OLD If anybody is interested just send me a note and I'll send you a copy. > >> 2 - How can a program find out what kind of processor and how > There was a program posted several months ago that did just this - I am not sure if it could distinguish a 8088 from 8086, though. I lost my copy, but somebody must have it. -- Fridrik Skulason University of Iceland | Technical Editor of the Virus Bulletin (UK) | Reserved for future expansion E-Mail: frisk@rhi.hi.is Fax: 354-1-28801 |