home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / alt / msdos / programm / 2259 < prev    next >
Encoding:
Text File  |  1992-08-25  |  1.9 KB  |  51 lines

  1. Newsgroups: alt.msdos.programmer
  2. Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!swalter
  3. From: swalter@nyx.cs.du.edu (DreamWeaver)
  4. Subject: Re: alt 255
  5. Message-ID: <1992Aug26.053641.10367@mnemosyne.cs.du.edu>
  6. Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
  7. Organization: University of Denver, Dept. of Math & Comp. Sci.
  8. References: <92238.135238MCHAMINA@ESTEC.BITNET>
  9. Date: Wed, 26 Aug 92 05:36:41 GMT
  10. Lines: 39
  11.  
  12. CHAMINADE, MARC MICHEL LOUIS <MCHAMINA@ESTEC.BITNET> writes:
  13.  
  14. >If you want to prevent people to delete your files on your hd with the f
  15. nction
  16. >del xxx.x rather than Attrib you'd better rename the files from
  17. >xxx.x to
  18. > xxx.x The space in front of the name is obtained with the alt-255 combi
  19. ation.
  20. >You can not call the file or do anything to it by using the space key.
  21.  
  22. >Some may find it usefull. I do !
  23.  
  24. Nifty idea ... I've got an extension to that:
  25.  
  26. Since DOS see the ALT-255 combo as a valid character for filename, you
  27. aren't limited to just one of them.  You can create a filename that is
  28. nothing but ALT-255's.  -OR-, you can put an ALT-255 at the _end_ of the
  29. name:
  30.  
  31.      xxx_.x
  32.  
  33. where the '_' is the ALT-255 combo.  That way, the file doesn't seem any
  34. different when you do a directory of it ... yet trying to access just
  35. xxx.x doesn't work (file not found).
  36.  
  37. Also, ALT-255 works for creating sub-directories.  It will effectively
  38. make the directory invisible unless something is entered into the
  39. directory table after it.
  40.  
  41. (for those curious, ALT-255 means hold down the alt key and type 2 5 5 on
  42. the _numeric_keypad_.  You won't get this to work if you use the keys
  43. across the top of the keyboard, it _must_ be the keypad.  For that matter,
  44. that's how you can create filenames or directories with IBM graphics
  45. characters:  simply substitute the ALT-??? combo of the character for what
  46. you want ... the combo being the ASCII value of the graphic char you want
  47. to use).
  48.  
  49. -Scotty
  50.  
  51.