I tend to forget these:
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun
+
doskey /macrofile [file]
+
cat=type $* etc...
This is just for future reference if/when my computer crash. Let's hope it's not this server. Ever.
Off topic - nice dos stuff
Moderator: Marcus
Re: Off topic - nice dos stuff
Windows 7, taking ownership:
takeown /f <folder> /r
icacls <folder> /grant <user>:f /t
For example:
takeown /f "Program Files" /r
icacls "Program Files" /grant Marcus:f /t
takeown /f <folder> /r
icacls <folder> /grant <user>:f /t
For example:
takeown /f "Program Files" /r
icacls "Program Files" /grant Marcus:f /t