Category : Files from Magazines
Archive   : DOSTCH.ZIP
Filename : RENDIR.DOC

 
Output of file : RENDIR.DOC contained in archive : DOSTCH.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.


SYNTAX RENDIR [d:] [path] dirname1 dirname2

dirname1 Name of the subdirectory to rename
dirname2 New name for the subdirectory


DESCRIPTION

RENDIR renames subdirectories just like REN renames files. RENDIR will
not rename the root directory, and in DOS 5.0, it won't let you rename
the current directory. However, some versions of DOS (RENDIR will run
under any version from 3.0 on) will let you rename the current
directory. If this happens, or if you rename a directory that lies in
the path to the current directory, DOS may tell you that one or more
subdirectories are invalid. To correct the error, CD to the root
directory of the drive, then back to the current directory. The source
code for RENDIR is available on ZiffNet.

EXAMPLES

To rename the subdirectory WP to WPERFECT, type

RENDIR WP WPERFECT

To rename \WP\DOC to WP\WPFILES, type

RENDIR \WP\DOC WPFILES

** Special Note: This utility is also a mentioned in the Ziff-Davis Press
book "PC Magazine's DOS 5 Techniques and Utilities" by Jeff Prosise. Both
this DOCumentation file and in the book's utility reference stand as correct.


  3 Responses to “Category : Files from Magazines
Archive   : DOSTCH.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/