How To Hide Text With Notepad
This is amazing trick to hide simple text from other people, it’s useful if you share one computer with other people
- open up command prompt window (start menu run type cmd)
- choose which drive you want to save this file in my case i choosed C and then type c \
- first we going to create a new notepad file so let’s type notepad file1.txt
- click save and write anything, this file is one it’s gonna be visible to other people
- Now we going to create the hidden file so we need to type notepad file1.txt:hidden.txt
- click save and write anything that you don’t want anyone to see it
now here is the trick the file hidden.txt is not visible any where else you can’t view or open this file from windows explorer


the only way you can open hidden.txt is by command prompt window
to open it type notepad file1.txt:hidden.txt
this is nice trick if you want to hide simple text file from other people, no one can open hidden.txt except if someone know the name of hidden.txt and file1.txt
Related posts:
Posted by admin on 18 September, 2007
17 Comments
This item was filled under [ Tips & Tricks ]




(4 votes, average: 4.00 out of 5)
17 Comments on “How To Hide Text With Notepad”
Pretty cool. Thanks for the tip.
thanks for your comment
Unless of course your machine is set to “show hidden files and folders” under the folder view options.
J\
no that is not true even if your machine is set to “show hidden files and folders” under the folder view options. the file (hidden.txt) will remain hidden and there is no way you can view this file except by typing it’s name in the command promte window, and that is the amazing about this trick
where is The Hidden file saved?
thats a very useful trick, thanks for sharing
Amazing? Yeah! it is. If we don’t want the files not to be seen by others, let’s do this pretty cool trick. Thanks for sharing!
This is a great trick. I didn’t know that. It remainds me the DOS days. Thanks for the tip.
thank you
Very interesting trick. I think this is useful for those who use computers in office or share computers with others.
I agree with other users. You can easily view the file just by choosing “Show hidden file”. Also, you can make the file hidden just by doing a right -click and choosing “hidden” on its attributes. Anyway, this seems to be an amazing trick for typical users.
Nice share.
@macobex its not possible to view this hidden file by choosing Show hidden file, you can try it yourself and check
Really interesting trick. Probably works pretty well consider few use the command prompt now a days.
Excellent trick.
One small point.
To delete the file, you need to delete the .TXT file.
this uses NTFS data streams, a feature of NTFS for a long time, but it isn’t usable… (by any regular programs — ie, it doesn’t have an interface to it).
Great work bringing it to light for us, I didn’t know it was so easy to use!
Here is some more information and a free app to scan for them:
http://www.auditmypc.com/freescan/readingroom/ntfsstreams.asp
Actually, just found out that DIR command can show them:
/R Display alternate data streams of the file.
dir /R
8 test.txt
12 test.txt:sub.txt:$DATA
Good to know. I will start using this tip from now on. Thank you.