codice:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\CLASSES\.dll]
@="dllfile"
[HKEY_CLASSES_ROOT\dllfile\shell\Dipendenze]
[HKEY_CLASSES_ROOT\dllfile\shell\Dipendenze\command]
@="DEPENDS.EXE /dde"
[HKEY_CLASSES_ROOT\dllfile\shell\Dipendenze\ddeexec]
@="[open(\"%1\")]"
[HKEY_CLASSES_ROOT\dllfile\shell\Registra]
[HKEY_CLASSES_ROOT\dllfile\shell\Registra\command]
@="regsvr32 %1"
[HKEY_CLASSES_ROOT\dllfile\shell\Deregistra]
[HKEY_CLASSES_ROOT\dllfile\shell\Deregistra\command]
@="regsvr32 -u %1"
[HKEY_CLASSES_ROOT\dllfile\Shell\OleView]
[HKEY_CLASSES_ROOT\dllfile\Shell\OleView\command]
@="oleview.exe %1"
[HKEY_LOCAL_MACHINE\Software\CLASSES\.ocx]
@="ocxfile"
[HKEY_CLASSES_ROOT\ocxfile\shell\Dipendenze]
[HKEY_CLASSES_ROOT\ocxfile\shell\Dipendenze\command]
@="DEPENDS.EXE /dde"
[HKEY_CLASSES_ROOT\ocxfile\shell\Dipendenze\ddeexec]
@="[open(\"%1\")]"
[HKEY_CLASSES_ROOT\ocxfile\shell\Registra]
[HKEY_CLASSES_ROOT\ocxfile\shell\Registra\command]
@="regsvr32 %1"
[HKEY_CLASSES_ROOT\ocxfile\shell\Deregistra]
[HKEY_CLASSES_ROOT\ocxfile\shell\Deregistra\command]
@="regsvr32 -u %1"
[HKEY_CLASSES_ROOT\ocxfile\Shell\OleView\command]
[HKEY_CLASSES_ROOT\ocxfile\Shell\OleView\command]
@="oleview.exe %1"
Copia questo script in un Regedit.txt
Rinomina il file in Regedit.reg
Lancia questo file (DblClick).
Questo file implementa il menu a tedina sul pulsante destro del mouse per registrare dll o Ocx; basta MouseDxClick e nel menu a tendina ci saranno presenti le voci "registra" e "deregistra" l'oggetto\componente.