We normally save our bank account numbers, credit card numbers, important passwords, and so on, in-text files and place them on our desktop to access them easily. But, if your system is being shared with others, then there is a chance of this information being compromised. What I suggest is, follow this method of hiding data whenever necessary and remove those text files immediately once you are done with your work, as once anything is made, there are many ways to break it. This method makes use of the Alternate Data Streams of the NTFS file system, which Windows supports.

Hide data in a secret text file compartment

First, open the command prompt in your Windows system and type the following command: Syntax: Example Command:

Now, when you hit Enter, it says Cannot find the file specified at the location and asks whether to create or not. Just click ‘Yes’. Start typing into the file and save it.

The file shows a 0 KB size and it means there is nothing in that file.

So, the text which we wrote, is hidden in this file and if you double click the file to open it, you see nothing written in it. Even if someone opens it, they will see an empty text file and can start typing data into it. It does not affect our hidden data at all.

See and Edit the hidden data which was saved before Now, if you want to see the hidden data, you need to type the same command. You can even add some more data in this step itself.

If you want to add some more hidden data to the same file, then you need to use another secret word. This is not at all related to the data hidden with the first secret word.

Example Command: None of them will have an impact on either file or the main data. One thing to remember is, you need to go through the command prompt to access the hidden data. Now, when everything is done remove that text file completely using Shift+DEL and no one knows about that file anymore. This is a simple way to natively hide data in a text file of Windows. Use these tips whenever you need to save some confidential information for that span of time. Hat Tip HTG.