Hide text inside your text file using command prompt

Ask a question


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

How To Recover Windows XP Admin Password
Format an USB Flash Drive in NTFS