View Single Post
Old 09-16-2008, 09:23 AM   #73
A Face from The Past
Astrotoy7's Avatar
Join Date: Apr 2002
Posts: 10,283
Notable contributor  Helpful!  Folder extraordinaire  LFN Staff Member 
if you enjoy R click's something you'd like then chainz....

copy and paste text below into a notepad .txt document. Rename whatever.txt to whatever.reg This should change filetype to a registry key. Double click to add to your registry. If successful, you will now get a ''take ownership'' option when you a file. Handy for fiddling with system/locked files...

to ensure you have changed filetype correctly, ensure you have ''hide known filetypes'' OFF (in folder and search options)

@="Take Ownership"

@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

@="Take Ownership"

@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

Asinus asinum fricat
Astrotoy7 is offline   you may: