Category : Assembly Language Source Code
Archive   : DOCFILES.ZIP
Filename : RENDIR.DOC

 
Output of file : RENDIR.DOC contained in archive : DOCFILES.ZIP

RENDIR (Rename Directory) John Dickinson
Command PC Magazine Vol 5, No 7
Copyright 1986 Ziff-Davis Publishing Company
______________________________________________________

Purpose: Permits renaming subdirectories directly,
without creating a new directory, moving the
contents of the old one into it, and then
removing the old directory.

Format: RENDIR [d:][path]oldname[.ext] newname[.ext]

Remarks: PC-DOS has always provided a REName command
for filenames, but not for directories. A
bug in DOS 3.0 permits you to use the
immediate mode of BASIC to

NAME olddir AS newdir

but this bug has been removed from subsequent
DOS versions. RENDIR.COM permits renaming
directories in DOS 3.0 and later.

While RENDIR allows you to change the name of
a directory on another drive than your
current one, it does not permit you to
transfer a directory to another drive by
RENDIRing it. Thus, for example, if you are
on drive C: and have a directory on drive D:
named \TAXES, from the C> prompt you can

RENDIR D:\TAXES \TAXES85

You cannot, however

RENDIR D:\TAXES C:\TAXES85

Furthermore, you should not use RENDIR to try
to change the name of the subdirectory you
are currently in.

Notes:

1. Unlike RENAME, RENDIR does not support
use of the ? and * wildcard characters.

2. Requires DOS 3.0 or higher.



  3 Responses to “Category : Assembly Language Source Code
Archive   : DOCFILES.ZIP
Filename : RENDIR.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/