Quick Access
①Quickly Open Calculator
RegForm1="REG_SZ"
RegPath7="HKEY_CLASSES_ROOT\Directory\shell\Calculator\"
RegValue7="Open System Calculator"
RegPath8="HKEY_CLASSES_ROOT\Directory\shell\Calculator\command\"
RegValue8="calc.exe"
WshSHell.RegWrite RegPath7,RegValue7,RegForm1
WshSHell.RegWrite RegPath8,RegValue8,RegForm1
②Quickly Enter Command Prompt
RegValue2="cmd.exe /k cd %1"
RegValue4="cmd.exe /k"
RegPath1="HKEY_CLASSES_ROOT\Folder\shell\CommandPrompt\"
RegValue1="Enter Command Prompt"
RegForm1="REG_SZ"
RegPath2="HKEY_CLASSES_ROOT\Folder\shell\CommandPrompt\command\"
RegPath3="HKEY_CLASSES_ROOT\*\shell\CommandPrompt\"
RegPath4="HKEY_CLASSES_ROOT\*\shell\CommandPrompt\command\"
WshSHell.RegWrite RegPath1,RegValue1,RegForm1
WshSHell.RegWrite RegPath2,RegValue2,RegForm1
WshSHell.RegWrite RegPath3,RegValue1,RegForm1
WshSHell.RegWrite RegPath4,RegValue4,RegForm1
③Copy To/Move To
RegPath1="HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To\"
RegValue1="{C2FBB630-2971-11D1-A18C-00C04FD75D13}"
RegForm1="REG_SZ"
RegPath2="HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To\"
RegValue2="{C2FBB631-2971-11D1-A18C-00C04FD75D13}"
WshSHell.RegWrite RegPath1,RegValue1,RegForm1
WshSHell.RegWrite RegPath2,RegValue2,RegForm1
④Quickly Open Notepad
RegPath7="HKEY_CLASSES_ROOT\Directory\shell\Notepad\"
RegValue7="Open Notepad"
RegPath8="HKEY_CLASSES_ROOT\Directory\shell\Notepad\command\"
RegValue8="Notepad.exe"
RegForm1="REG_SZ"
WshSHell.RegWrite RegPath7,RegValue7,RegForm1
WshSHell.RegWrite RegPath8,RegValue8,RegForm1
⑤Open Folder in New Window
RegPath5="HKEY_CLASSES_ROOT\Directory\shell\Openw\"
RegValue5="Open Folder in New Window"
RegPath6="HKEY_CLASSES_ROOT\Directory\shell\Openw\command\"
RegValue6="explorer.exe %1"
RegForm1="REG_SZ"
WshSHell.RegWrite RegPath5,RegValue5,RegForm1
WshSHell.RegWrite RegPath6,RegValue6,RegForm1
⑥Register DLL File
RegPath1="HKEY_CLASSES_ROOT\Dllfile\shell\RegActiveX\"
RegValue1="Register Control (&R)"
RegForm1="REG_SZ"
RegPath2="HKEY_CLASSES_ROOT\Dllfile\shell\RegActiveX\command\"
RegValue2="RegSvr32 "+chr(34)+"%1"+chr(34)
RegPath3="HKEY_CLASSES_ROOT\Dllfile\shell\UnRegActiveX\"
RegValue3="Unregister Control (&U)"
RegPath4="HKEY_CLASSES_ROOT\Dllfile\shell\UnRegActiveX\command\"
RegValue4="RegSvr32 /u "+chr(34)+"%1"+chr(34)
RegPath5="HKEY_CLASSES_ROOT\ocxfile\shell\RegActiveX\"
RegValue5="Register Control (&R)"
RegPath6="HKEY_CLASSES_ROOT\ocxfile\shell\RegActiveX\command\"
RegValue6="RegSvr32 "+chr(34)+"%1"+chr(34)
RegPath7="HKEY_CLASSES_ROOT\ocxfile\shell\UnRegActiveX\"
RegValue7="Unregister Control (&U)"
RegPath8="HKEY_CLASSES_ROOT\ocxfile\shell\UnRegActiveX\command\"
RegValue8="RegSvr32 /u "+chr(34)+"%1"+chr(34)
WshSHell.RegWrite RegPath1,RegValue1,RegForm1
WshSHell.RegWrite RegPath2,RegValue2,RegForm1
WshSHell.RegWrite RegPath3,RegValue3,RegForm1
WshSHell.RegWrite RegPath4,RegValue4,RegForm1
WshSHell.RegWrite RegPath5,RegValue5,RegForm1
WshSHell.RegWrite RegPath6,RegValue6,RegForm1
WshSHell.RegWrite RegPath7,RegValue7,RegForm1
WshSHell.RegWrite RegPath8,RegValue8,RegForm1