Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-30-2005, 02:28
SOLAR SOLAR is offline
Friend
 
Join Date: Aug 2004
Posts: 126
Rept. Given: 6
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 12
Thanks Rcvd at 6 Times in 6 Posts
SOLAR Reputation: 2
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
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


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


All times are GMT +8. The time now is 17:32.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )