Hide text inside your text file using command prompt

December 2016




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 :

This document entitled « Hide text inside your text file using command prompt » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.