New Bookstore! Save 20% on books with discount code: LAUNCH
Web Dev + WordPress + Security

Hide Content on Windows 98SE

[ Sony Vaio Laptop Rocking Windows 98SE ] This brief tutorial on hiding content applies to Windows 95, 98, and 98SE. Although this method may be old hat or even irrelevant to the more experienced Windows users, I have found it useful on a number of occasions, and therefore think it’s worthwhile to share here at Perishable Press for future reference.

Overview

On Windows 98SE (and others), it is possible to create a folder that is both listed and inaccessible via the Windows file system. Using an old DOS trick involving an obscure character reference, we create a folder that, when clicked on via Windows, produces a “The File does not Exist” error message, thus denying any access. This “hidden” folder is completely accessible via DOS, and functions as any other “regular” folder. In Windows, the folder will appear with an underscore preceding its given name.

For example, using this method to create a hidden folder named “test” will produce a folder that appears as “_test” when viewed via Windows.

How to hide content

The method is actually quite simple. Open a DOS window and navigate to a directory in which you wish to create the hidden folder, and then carefully follow these steps:

  1. At the DOS prompt, type “md ” (notice the space after md).
  2. After the space, press the Alt key and simultaneously type 255 using the numeric keypad. This should cause the cursor to advance one space, as if you had pressed the space bar.
  3. After entering Alt+255, release the Alt key.
  4. Immediately following the “space” created by Alt+255, type in a name for the folder, or leave it blank for no name. Note: leaving the folder name blank will result in the name appearing as an underscore (_) in Windows.
  5. After entering a file name, press “Enter” to create the folder.

After creating the hidden folder, navigate to the folder in Windows and attempt to gain access. You should receive the error message mentioned above. This is great, because the whole point of this exercise is to create a folder that is inaccessible via Windows for the purpose of “hiding” files and other content.

Adding more hidden content

To add files to a hidden folder that you have named “test”, open a DOS window and navigate to the folder using cd path\"Alt+255"test (the "Alt+255" represents actual keystrokes – do not include any quotes). To add a file called “pancake” to the hidden directory, enter the following command:

copy pancakes.gif c:\path\"Alt+255"test

Refer to the articles linked in the related resources for more information regarding these and many other DOS commands.

Remember, the hidden folder is by no means secure — it is openly available to anyone with a cursory knowledge of DOS. Fortunately, 99.9% of people either lack basic DOS skills or would not think of looking for a file beginning with a Alt+255 prefix. Happy hiding!

Jeff Starr
About the Author
Jeff Starr = Web Developer. Book Author. Secretly Important.
The Tao of WordPress: Become your own WordPress guru.

One response to “Hide Content on Windows 98SE”

  1. nice site… it is very useful

Comments are closed for this post. Something to add? Let me know.
Welcome
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
WP Themes In Depth: Build and sell awesome WordPress themes.
Thoughts
LOL @ “weekly” support: “Your request has been received and will be reviewed soon. Neil (your support guy) checks support requests weekly. Rest assured we’ll get to it!” — Gotta be kidding with this.
After several days of work, finally taking a break. If anyone needs me, I'll be in Zora’s Domain, working thru Mah Eliya shrine.
Never ever call the client a useless idiot. Even if it’s true.
Inevitable that Google shuts down Feedburner. Maybe this year? Who knows. Here is a nice summary plus alternatives.
There is no way that Marvel can serve up anything better than what they've already done with Infinity saga/Endgame. Knowhere to go but down, sadly.
I built a new search launchpad to make my life easier. So I can search multiple engines quickly and easily.
Updating all muh plugins for WP 5.5 imminent release! Wut August :)
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.