How to hide a file in Windows Xp using the command prompt

You can also hide your files in windows through the command prompt.

First open the command prompt (start > run > cmd).
Then give in the command:

attrib +h d:\filename.txt

This will hide the filename.txt file in the D drive.
Replace the file path with any file path you want to hide that particular file.
To unhide the file use the same command with the –h option like as follows.

attrib -h d:\filename.txt

This will unhide the file.