


KthProg wrote:speaking of which there is also a technique in windows to mark your file in cmd as a system file, which will make it unviewable unless system file viewing is on, but likewise, anyone looking for the file WILL find it.

madsmaks wrote:KthProg wrote:speaking of which there is also a technique in windows to mark your file in cmd as a system file, which will make it unviewable unless system file viewing is on, but likewise, anyone looking for the file WILL find it.
The command you're referring to is the attrib command. Run in a Windows command prompt you can set or remove specific file attributes - Read Only, System, Hidden, Archive. To set the attribute use + and to remove the attribute use -.
So to set a file called myfile.txt as a hidden and system file:
attrib +s +h myfile.txt
As you say though not particularly useful as hidden files can be viewed simply by using the attribute switch with the dir command:
dir /a:h

KthProg wrote:but likewise, anyone looking for the file WILL find it.




Users browsing this forum: No registered users and 0 guests