Article View: comp.os.msdos.programmer
Article #594Re: Moving directories
From: Duncan Murdoch
Date: Tue, 07 Apr 1992 14:47
Date: Tue, 07 Apr 1992 14:47
18 lines
1202 bytes
1202 bytes
In article <29e0441a@ralf> Ralf.Brown@B.GP.CS.CMU.EDU writes: > >You read it right. I don't know of any way to convince DOS to move a >subdirectory on its own. I had to think for a while before I could figure out why this would be, but I did finally come up with a reason: If you move a file by renaming it, all you have to do is delete its entry from one directory and add it to another. Moving a directory also requires a change to the thing being moved: the ".." entry has to point to the parent. This has made me think of a weird case that might mess up a mover: is it possible in DOS to have a subdirectory write protected without having its parent directory write protected? Duncan Murdoch dmurdoch@watstat.waterloo.edu
Technical Details
Message-ID:
<1992Apr7.144735.18134@watdragon.waterloo.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!utgpu!watserv1!watdragon!watstat.waterloo.edu!dmurdochReferences:
<29e0441a@ralf>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!utgpu!watserv1!watdragon!watstat.waterloo.edu!dmurdoch From: dmurdoch@watstat.waterloo.edu (Duncan Murdoch) Subject: Re: Moving directories Message-ID: <1992Apr7.144735.18134@watdragon.waterloo.edu> Sender: news@watdragon.waterloo.edu (USENET News System) Organization: University of Waterloo References: <29e0441a@ralf> Date: Tue, 7 Apr 1992 14:47:35 GMT Lines: 18