Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!jarthur!elroy.jpl.nasa.gov!ncar!boulder!tramp!grandin From: grandin@boulder.Colorado.EDU (Keith T. Grandin) Newsgroups: comp.sys.ibm.pc.programmer Subject: How to rename directories and computer info Keywords: rename, processor Message-ID: <19580@boulder.Colorado.EDU> Date: 11 Apr 90 22:38:40 GMT Sender: news@boulder.Colorado.EDU Reply-To: grandin@tramp.Colorado.EDU (Keith Grandin) Organization: University of Colorado, Boulder Lines: 22 I have two programming questions : 1 - Is there a way to do a real move of files? I would like to be able to move both files and directories, but Turboc's rename() function and DOS function 86 (INT 33, _AH = 56H) do not support directory moves (i.e. changing a directories name to a new path like moving c:\tmp\norton to c:\norton). 2 - How can a program find out what kind of processor and how much memory is in the machine it is run on. I would like to be able to write an "intelligent" program which could use extended memory if the correct processor and memory are availible. I would prefer responses to be in C (TurboC 2.0) but both assembly (MASM 5.0) and pascal (Turbo Pascal 5.5) are fine. Thanks in advance, Keith Grandin grandin@tramp.colorado.edu grandin%tramp@boulder.colorado.edu