How to hide a folder?
Re: How to hide a folder?
I remember a nice way of hiding files on DOS and Win9x. But with NTFS partitions it's not that easy. The trick was very common in the DOS era: Basicly you remove the file(s) from the file table of the hard disk and flag the clusters that the files uses as bad or damaged. So the OS will not use this clusters anymore. Then you have to save the information of the file (filename, path, wich clusters it's on) to a database or datafile or whatever. Because you only have to manipulate the file table and set some flags it was very fast. However NTFS is another story.
- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Re: How to hide a folder?
I had thought that if a file name started with ! or $ it was invisible? Automatically???
Re: How to hide a folder?
Nah...take a clue from the Sony root kit fiasco...ie.... $sys$_somenamehereRook Zimbabwe wrote:I had thought that if a file name started with ! or $ it was invisible? Automatically???
The advantage of a 64 bit operating system over a 32 bit operating system comes down to only being twice the headache.
- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Re: How to hide a folder?
I wonder if the $Sys$_NAMEHERE would even work on Vista or 7??? 

Re: How to hide a folder?
> I wonder if the $Sys$_NAMEHERE would even work on Vista or 7???
It doesn't work here on XP, that's for sure.
It doesn't work here on XP, that's for sure.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.