🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #321

Re: How to rename directories and computer info

#321
From: Paul B. Davidson,ERCTERM,2682292...
Date: Thu, 12 Apr 1990 21:16
22 lines
1547 bytes
From article <9065@chaph.usc.edu>, by wilber@sal-sun31.usc.edu (John Wilber):
> 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, but you should be able to copy
> the file to the destination with a temporary name, delete the old file,
> and then rename the new one with the filename from the old one.  You
> should be able to do all of this, including assigning the temporary name
> (if I'm correct) with INT 21 BIOS calls.
>

Forgive my stupidity if this won't work exactly, but how about simply
playing with the directory entry so that it appears in a different
location? That way, you don't have to worry about not having enough
space to copy and delete...

Of course, if you wanna move between disks, you're gonna have to move
and copy.... but you already knew *that*. :-)


-Paul B. Davidson, (elmo@sun.soe.clarkson.edu)
Technical Details
Message-ID: <1990Apr12.211637.8683@sun.soe.clarkson.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!rpi!image.soe.clarkson.edu!elmo
References: <9065@chaph.usc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!rpi!image.soe.clarkson.edu!elmo
From: elmo@image.soe.clarkson.edu (Paul B. Davidson,ERCTERM,2682292,2862026)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Re: How to rename directories and computer info
Message-ID: <1990Apr12.211637.8683@sun.soe.clarkson.edu>
Date: 12 Apr 90 21:16:37 GMT
References: <9065@chaph.usc.edu>
Sender: elmo@sun.soe.clarkson.edu (Paul B. Davidson)
Organization: Clarkson University, Potsdam, NY
Lines: 23