Delete a folder or file *as TrustedInstaller*

PoBoy

Level H
If you ever need to delete a file or folder that needs permission from TrustedInstaller, try my program here :
Link to thread at theoven.org

Credits : NSudo | System Administration Toolkit
https://m2team.github.io/NSudo/en-us/

I don't really need to say this ... but ... be careful when using these programs.

The NSIS version in post #3 might be better.
DeleteFileAsTI

If program is run with no parameter it requests the user to select the file to delete,
and also displays a confirmation dialog.

If program is run with a parameter (from command line or bat file) the parameter
should be one file path WITHOUT QUOTES, no confirmation dialog is displayed,
so be careful. DO NOT use wildcards :)

---------------------------------------------------------------------

DeleteFolderAsTI

If program is run with no parameter it requests the user to select the folder to delete,
and also displays a confirmation dialog.

If program is run with a parameter (from command line or bat file) the parameter
should be one folder path WITHOUT QUOTES, no confirmation dialog is displayed,
so be careful. DO NOT use wildcards :)
 
Back
Top