Dec 102017
This package allows you to create, remove, and move around in hidden directories.
File HIDEDIR.ZIP from The Programmer’s Corner in
Category File Managers
This package allows you to create, remove, and move around in hidden directories.
File Name File Size Zip Size Zip Type
CDH.COM 41 41 stored
MDH.COM 52 52 stored
RDH.COM 41 41 stored
READ.ME 3490 1618 deflated

Download File HIDEDIR.ZIP Here

Contents of the READ.ME file

HIDEDIR v1.1, by Tom Neff.

This package allows you to create, remove, and move around in hidden
directories. The advantages of this package over other freeware
implementations are that (1) all parameters are specified on the command
line, rather than prompted for; and (2) complete specification of paths
is allowed, rather than requiring all work be done in the current
directory. Thus, for example, the three-step process

Move to the parent of the hidden subdirectory
Run the hidden-CHDIR program
Type in the hidden subdirectory's name

is now reduced to one step - type CDH .

Hidden subdirectories are ordinary directories that hold files in the
usual way, but there are two special things about them. The first trick
is that they have the "hidden" file attribute bit set in their parent
directory entry. This means they don't show up in the listing DIR or
TREE makes. However, other utilities such as SDL30 *will* show them, and
if you know the name of a hidden file you can still access it, including
directories. So the second trick is to give the hidden subdirectory a
funny name that cannot be typed directly from the PC keyboard. RUBOUT
(ascii 127, symbol ) is a good choice of character to include in the
name, because even if you use ALT plus the numeric keypad 1-2-7 to enter
it at the keyboard, it just behaves like the grey Backspace key and
deletes the previous character!

So these utilities manipulate subdirectories with the hidden attribute
and rubout characters in the filename. But how do you enter the rubout
yourself? Use the asterisk (*) key instead - I will automatically
translate it. So \PROJECT\SEC*RET becomes \PROJECT\SECRET, etc.

There are three .COM files supplied in this package. They're all very
small, so if you have a RAMDISK they're pretty good candidates for
inclusion. NOTE: All of them mimic their DOS 2.x counterparts in syntax.

MDH.COM creates a hidden subdirectory. Note that as with the
PC-DOS MKDIR command, only the lowest (rightmost)
level is created - all parent levels must already
exist; for instance, MDH \FRED\JOE\SAM* assumes that
directory \FRED\JOE already exists, and creates a
hidden subdirectory (called SAM) underneath it.

CDH.COM accesses a hidden subdirectory, which then becomes the
current directory.

RDH.COM removes (deletes) a hidden subdirectory, which must be
empty in order for the command to succeed. Again,
only the rightmost level is removed: RDH \FRED\JO*E
removes subdirectory JOE from \FRED, but leaves \FRED

These commands are designed to be used with a minimum of fuss by the
authorized, and to be as unhelpful as possible to the unauthorized, so
they give no error messages or prompts. They either work or they don't.
If you get into trouble and forget what you're doing, just use SDL30 in
"tree" mode and it'll show you your subdirectories.

Tom Neff
Compuserve 75176,3532
March 12, 1985

 December 10, 2017  Add comments

Leave a Reply