Off topic - nice dos stuff

General discussions regarding the program language Java and its API's.

Moderator: Marcus

User avatar
Marcus
Site Admin
Posts: 1823
Joined: 2005.04.04 10:52
Location: Stockholm
Contact:

Off topic - nice dos stuff

Postby Marcus » 2006.09.01 09:53

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.

User avatar
Marcus
Site Admin
Posts: 1823
Joined: 2005.04.04 10:52
Location: Stockholm
Contact:

Postby Marcus » 2008.05.19 00:57

Well, it did crash. ;)

User avatar
Marcus
Site Admin
Posts: 1823
Joined: 2005.04.04 10:52
Location: Stockholm
Contact:

Re: Off topic - nice dos stuff

Postby Marcus » 2011.12.18 23:57

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


Return to “Java”

Who is online

Users browsing this forum: No registered users and 1 guest