Red Squirrel
No Lifer
I am looking for some functions (can be .net specific, or not, does not matter) that will allow me to perform various file system tasks that neglect the permissions, such as deleting, getting file size etc...
It's important that it ignores permissions as what I want to do is write an app to mass delete home folders based on a list, and I find with windows permissions it gets weird where even if you're the admin, you need to take ownership before being able to do anything. I want to write an app to make this process faster.
Worse case scenario if there is a way to programaticly take ownership then that will work too but if I can avoid touching the permissions then even better. I'm sure it's like that for a reason.
It's important that it ignores permissions as what I want to do is write an app to mass delete home folders based on a list, and I find with windows permissions it gets weird where even if you're the admin, you need to take ownership before being able to do anything. I want to write an app to make this process faster.
Worse case scenario if there is a way to programaticly take ownership then that will work too but if I can avoid touching the permissions then even better. I'm sure it's like that for a reason.