Is it possible in some way to drag a file to an .exe or .lnk (shortcut) file in TC?
For example if I have a .lnk file to regsvr32.exe in the same directory as the dll files I want to register?
Drag and drop file to exe or .lnk in same filelist windows?
Moderators: Hacker, petermad, Stefan2, white
No, this isn't allowed for security reasons, to prevent incidental starting of executables during Drag&Drop operations.
But you can create a new button in the button bar by dragging the EXE file onto an empty space inside the button bar.
This new button can be used as drop target to start the EXE file with the dropped file as parameter.
HTH,
Holger
EDIT:
The following (Un)Register.reg -file for a context menu to register and unregister com-server may be helpful for you:
But you can create a new button in the button bar by dragging the EXE file onto an empty space inside the button bar.
This new button can be used as drop target to start the EXE file with the dropped file as parameter.
HTH,
Holger
EDIT:
The following (Un)Register.reg -file for a context menu to register and unregister com-server may be helpful for you:
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\dllfile\shell]
[HKEY_CLASSES_ROOT\dllfile\shell\Register]
[HKEY_CLASSES_ROOT\dllfile\shell\Register\command]
@="\"regsvr32\" \"%1\""
[HKEY_CLASSES_ROOT\dllfile\shell\Unregister]
[HKEY_CLASSES_ROOT\dllfile\shell\Unregister\command]
@="\"regsvr32\" \"%1\" /u"
[HKEY_CLASSES_ROOT\ocxfile\shell]
[HKEY_CLASSES_ROOT\ocxfile\shell\Register]
[HKEY_CLASSES_ROOT\ocxfile\shell\Register\command]
@="\"regsvr32\" \"%1\""
[HKEY_CLASSES_ROOT\ocxfile\shell\Unregister]
[HKEY_CLASSES_ROOT\ocxfile\shell\Unregister\command]
@="\"regsvr32\" \"%1\" /u"
[HKEY_CLASSES_ROOT\exefile\shell]
[HKEY_CLASSES_ROOT\exefile\shell\Register]
[HKEY_CLASSES_ROOT\exefile\shell\Register\command]
@="\"%1\" /regserver"
[HKEY_CLASSES_ROOT\exefile\shell\Unregister]
[HKEY_CLASSES_ROOT\exefile\shell\Unregister\command]
@="\"%1\" /unregserver"