Monday, June 01, 2009

The most useful thing I've ever found by accident

The next easy task in creating shell extensions, is add items to the context menu of file
types. A neat little trick is to add a shortcut to the command-line shell in the directory
context menu. This is done by making a small change in the Windows Registry. Simply
add a new subkey in HKEY_CLASSES_ROOT\Directory\shell. Here's .REG file that
adds a CmdHere item to the context menu for folders.
@="CMD &Prompt Here"
@="C:\\WINNT\\System32\\cmd.exe /k cd \"%1\""

Minimally Logged Operations in SQL Server

I'm posting this mostly so I can find it later :) The following article has a great table that defines when operations will be minimall...