![]() |
|
#1
|
|||
|
|||
|
How to?-How to mark a file at the OS level
Here's the scenario I want to be able to programmatically mark a file in a way with a flag or something that will tell the OS to do something with the file.
For example...I know uninstallers when uninstalling an app deletes some of the files related to an application but sometimes to compleletly remove the software the computer needs to be rebooted as some file are being used by the system. However, once the reboot occurs the un-installer has marked the file to be deleted at reboot i.e. before the operating system loads it again. I know the un-installer marks the file because a few days ago i un-installed an application and without rebooting i tried to reinstall it and the OS (Win XP) gave me an alert that said something like "Cannot install because [some_filename_here] is marked for deletion" How does the un-installer do this? And how can i accomplish this using some programming language preferable VB/C#.Net or VB? Thank you in advance for any help |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mark memory page as invalid | Kerlingen | General Discussion | 3 | 08-29-2016 19:49 |
| Cracking Apps Gromit! by Mark Danks | elephant | General Discussion | 1 | 07-02-2015 02:10 |
| Is the 'HAL dll' the lowest level file? | Rhodium | General Discussion | 5 | 08-12-2004 21:47 |
| How to modify the mark of a compressor? | eriC | General Discussion | 1 | 11-08-2002 05:21 |