Hide text inside your text file using command prompt


I just want to hide text to avoid my collegue can access them, what should i do?


  • Open your command prompt Start->Run type cmd
  • Move to any destination for example let us assume C:\> drive
  • Type the below code in your command prompt
  • C:\>notepad mytest.txt:hidden
  • Write some data and save the file.
  • Move to C:\> and open mytest.txt you cannot see no data in the file.
  • To retrieve the hidden data open command prompt and type the same command.
  • C:\>notepad mytest.txt:hidden
  • Notepad will open mytest.txt file with hidden data
Published by aakai1056. Latest update on June 16, 2010 at 01:11 PM by aakai1056.
This document, titled "Hide text inside your text file using command prompt," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).
How To Recover Windows XP Admin Password
Format an USB Flash Drive in NTFS