Hide text inside your text file using command prompt

June 2017




Issue


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

Solution

  • 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

Related


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 (ccm.net).