Thursday, September 24, 2009

Stupid windows..

Sometimes you'll get a can't delete something because you need permissions from something else.

So just use this instead.

takeown /f %1 /r /d y
icacls %1 /grant administrators:F /t

No comments: