HKCR\Directory\Background\shell\YourItemName\shell\command
reg add "HKEY_CLASSES_ROOT\Directory\Background\shell\Foo Bar Baz\command" /t REG_SZ /ve /d "cmd.exe /k echo FooBarBaz"
Index