Article View: alt.msdos.programmer
Article #310Re: alt 255
From: DreamWeaver
Date: Wed, 26 Aug 1992 05:36
Date: Wed, 26 Aug 1992 05:36
38 lines
1957 bytes
1957 bytes
CHAMINADE, MARC MICHEL LOUIS <MCHAMINA@ESTEC.BITNET> writes:
>If you want to prevent people to delete your files on your hd with the f
nction
>del xxx.x rather than Attrib you'd better rename the files from
>xxx.x to
> xxx.x The space in front of the name is obtained with the alt-255 combi
ation.
>You can not call the file or do anything to it by using the space key.
>Some may find it usefull. I do !
Nifty idea ... I've got an extension to that:
Since DOS see the ALT-255 combo as a valid character for filename, you
aren't limited to just one of them. You can create a filename that is
nothing but ALT-255's. -OR-, you can put an ALT-255 at the _end_ of the
name:
xxx_.x
where the '_' is the ALT-255 combo. That way, the file doesn't seem any
different when you do a directory of it ... yet trying to access just
xxx.x doesn't work (file not found).
Also, ALT-255 works for creating sub-directories. It will effectively
make the directory invisible unless something is entered into the
directory table after it.
(for those curious, ALT-255 means hold down the alt key and type 2 5 5 on
the _numeric_keypad_. You won't get this to work if you use the keys
across the top of the keyboard, it _must_ be the keypad. For that matter,
that's how you can create filenames or directories with IBM graphics
characters: simply substitute the ALT-??? combo of the character for what
you want ... the combo being the ASCII value of the graphic char you want
to use).
-Scotty
Technical Details
Message-ID:
<1992Aug26.053641.10367@mnemosyne.cs.du.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!mnemosyne.cs.du.edu!nyx!swalterReferences:
<92238.135238MCHAMINA@ESTEC.BITNET>Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!mnemosyne.cs.du.edu!nyx!swalter From: swalter@nyx.cs.du.edu (DreamWeaver) Subject: Re: alt 255 Message-ID: <1992Aug26.053641.10367@mnemosyne.cs.du.edu> Sender: usenet@mnemosyne.cs.du.edu (netnews admin account) Organization: University of Denver, Dept. of Math & Comp. Sci. References: <92238.135238MCHAMINA@ESTEC.BITNET> Date: Wed, 26 Aug 92 05:36:41 GMT Lines: 39