How to delete a folder created by another user

Normally I use my local machine using my basic windows account ‘me’.

I created a folder on my local machine using my admin account ‘admin_me’.

Now I want to delete the folder, but I don’t want to log in again as my admin account to be able to delete it.

Issue this command at the prompt for ‘me’ to take ownership of the file:

TAKEOWN /F C:FolderToDelete

You should see the following:

SUCCESS: The file (or folder): "C:FolderToDelete" now owned by user "me".

Now you can delete the folder!