Jump to content

Recommended Posts

Posted (edited)

What I'm doing is creating a temporary link to some existing files using FileCreateNTFSLink. After I'm done, I would like to simply delete these files. For most files, this is a non-issue using FileDelete. However, those links to those files that are open at the time cannot be deleted. Is there a way to delete those link files or links without closing the programs? I tried change the attributes from Read only, but that didn't work. Suggestions? Just a side note, we run almost exclusively XP machines.

EDIT: Further research has shown that it is the nature of hard links that attributes are shared between the hard link and the original, and thus it is not possible to delete the hard link until the original file is closed. Correct me if I'm wrong, but that seems to be the case. Unfortunately, Windows XP does not support any type of Symbolic link, so I will just have to live with it.

Edited by CGRemakes

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...