Tuesday, September 21, 2010

Create a folder or file with a blank name

I have learned this sort of Windows trick many years ago and have one particular use for it (naming a toolbar).

The folder would look like this..

blankfolder01

The folder above looks like it has no name, but it actually does (of course). The name is a special character that looks like a space (remember that you can’t use just a space as the folder name).

To create one, when creating a folder (or renaming one) simply type in this special character using ALT+255 (press and hold ALT key, press 255 keys, release the ALT key). You can use this to name your files as well.

There you have it!

HOW TO DELETE OUR SPECIAL FOLDER

For Vista (I can’t remember having this trouble in XP) you’d notice that our special folder is not as easily deleted, even though it’s just a normal folder. I haven’t checked out other ways of deleting it, but i do use this:

1. Delete all the files and folder in our special folder (i.e. using Windows Explorer).

2. Open a command line. From the Start Menu, in the "Start Search” field, type in “cmd” and press enter.
toolbar09a

3. Browse through the directory where we created our folder.
For example, if our folder is “H:\_Toolbars\ “ we type in the following..
a. type the drive letter of our folder. press enter.
b. type “cd” space, quotes mark , name of the parent
folder of our special folder, quote mark
pres enter.

note: if our special folder is on the root of the drive (no parent folder), skip step 2.

blankfolder02a

3. Rename the folder to something like “deleteme”. Then delete it. Use the following commands..
ren “ “ “deleteme”
del “deleteme”

note: the “ren” in the first line is the command “rename”. The command should be typed as follows:
a. type “ren”, then space
b. type the quotes mark
c. type our special character (ALT+255)
d. type another quotes mark, then press enter.

4. If the last command (del “deleteme”) asks “Are you sure (Y/N)?”, simply type “y” and press enter.

Actually, once you renamed the folder, you can delete it through Windows Explorer.

Whew! Deleting our special folder was a lot harder than making it. You can actually use this to your advantage..

0 comments:

Post a Comment