![]() |
| | #1 |
| Registered User Join Date: Feb 2010
Posts: 3
| How to programmatically hide a file or folder Any suggestions or comments would be appreciated Victor Last edited by victor43; 02-05-2010 at 04:04 PM. |
| victor43 is offline | |
| | #2 |
| Sweet Join Date: Aug 2002 Location: Tucson, Arizona
Posts: 1,758
| Reason?
__________________ Woop? |
| prog-bman is offline | |
| | #3 |
| Registered User Join Date: Feb 2010
Posts: 3
| I am facinated by stealth programs like keyloggers on how they do it. So I would like to write an application that can detect these hidden files first. I know there are other methods used by spyware to hide themselves so this is just a starting point for now. Hope that answers your questions. Victor |
| victor43 is offline | |
| | #4 |
| Registered User Join Date: Nov 2007
Posts: 352
| Operating system?
__________________ I copied it from the last program in which I passed a parameter, which would have been pre-1989 I guess. - esbo |
| NeonBlack is offline | |
| | #5 |
| Registered User Join Date: Feb 2010
Posts: 3
| |
| victor43 is offline | |
| | #6 |
| Registered User Join Date: Nov 2007
Posts: 352
| Most peoples' settings will hide "system" files even when they are set to show "hidden" files and folders. So the simplest thing you could do would be to set the file attributes to system. You could do this with something like system("attrib +H +S <file>") or using the win32 api.
__________________ I copied it from the last program in which I passed a parameter, which would have been pre-1989 I guess. - esbo |
| NeonBlack is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Encryption program | zeiffelz | C Programming | 1 | 06-15-2005 03:39 AM |
| archive format | Nor | A Brief History of Cprogramming.com | 0 | 08-05-2003 07:01 PM |
| Making a LIB file from a DEF file for a DLL | JMPACS | C++ Programming | 0 | 08-02-2003 08:19 PM |
| Hmm....help me take a look at this: File Encryptor | heljy | C Programming | 3 | 03-23-2002 10:57 AM |
| Need a suggestion on a school project.. | Screwz Luse | C Programming | 5 | 11-27-2001 02:58 AM |