Unaccessible Directories using DOS

Status
This thread has been Locked and is not open to further replies. The original thread starter may use the Report button to request it be reopened but anyone else with a similar issue should start a New Thread. Watch our Welcome Guide to learn how to use this site.

motocross95

Thread Starter
Joined
Oct 30, 2001
Messages
110
Well today I found this text file that teaches you how to make directories inaccessible without any special software, just DOS. Say you make a folder called "test" on the C drive, well you rename it using DOS to have a special character in it. Go into DOS and press ALT + 1, 9, 4. It will give you a weird "T". My problem is, I'm trying to create a little batch file program that will "HIDE" something for me, but I can't get it to work since the special character won't work in notepad. Any ideas? When I press ALT + 1, 9, 4 a little hyphen comes up so instead of the special character it just renames it with a hyphen. Do I need to use wordpad or something? Please help. Thank you.
 

eddie5659

Moderator
Malware Specialist
Joined
Mar 19, 2001
Messages
37,484
Hiya

I have just tried the ALT + 1, 9, 4 in Notepad and I got the little T but lower down. It won't allow me to post it here. Is that what you are trying to get? If so, just keep Alt down then press the numbers. Can you post this text file so that we could have a look at it?

You say all you get is - . Am I right so far? are you getting any of the other characters wrong? If not, there is a workaround. Go to Start | Programs | Accesories | System Tools | Character map.

Under ariel font, scroll down until you see the T . It will be somewhere near the bottom. Click on it, press Select and then Copy. (I'm doing this bit as its in Win2000. It may be a bit differnet in Win98, but not that much). now, go to Notepad, rightclick and Paste. Does that work?


Regards

eddie
 

Max19

Account Disabled
Joined
Jul 31, 2001
Messages
1,222
Use the EDIT program (edit.com) to create the batch file. If you don't have this file, I'll send it to you.
 

motocross95

Thread Starter
Joined
Oct 30, 2001
Messages
110
Thank you MAX19, I got it to work with EDIT. I forgot to try that before. It's a simple batch file now. Two files, 1 called HIDE, and one called UNHIDE.

@ECHO OFF
MOVE %1 %2
EXIT

That's all it is. I have a question though, as it is now you pass two variables to it. The path of the original and the path of it after. What I want it to do is reduce it to one variable. Say you pass it "c:\test". What I want it to do is change that so it's "c:\(ALT 1, 9, 4)test" ALT 1, 9, 4 is the special character. Thanks to anyone who can help.
 
Status
This thread has been Locked and is not open to further replies. The original thread starter may use the Report button to request it be reopened but anyone else with a similar issue should start a New Thread. Watch our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top