Page 1 of 2 12 LastLast
Showing results 1 to 10 of 19

Thread: Mount/Umount Context Menu Association without 3rd Party Tools

  1. #1
    New User
    Join Date
    19.11.2003
    Posts
    2

    Default Mount/Umount Context Menu Association without 3rd Party Tools

    The regestry script below will associate .cue, .iso, .mds and .nrg files with
    Deamon Tools allowing you to mount them with a single/double click. To unmount the image you have to right click the .cue, .iso, .mds or .nrg file and select Unmount.

    Feel free to modify the regestry file to your likings. Right now it also contains the shell command for burning the image with DVD Decrypted.

    Don't forget to edit the location to your Deamon Tools and/or DVD Decrypter to match your installation.

    To use the regestry script, cut and past the text between the Start and the End tags and copy it into a new text file. Save the file and rename the .txt
    extention to .reg. Then simply single/double click the file to merge it into the registry.

    Warning!! Using this registry script will overwrite any existing file associations for the above mentioned files.

    Any comments, questions? Please reply here.

    ====== Start Regestry File ========
    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\.cue]
    @=""

    [HKEY_CLASSES_ROOT\.cue\Shell]
    @="Mount"

    [HKEY_CLASSES_ROOT\.cue\Shell\Edit]
    @="&Edit"

    [HKEY_CLASSES_ROOT\.cue\Shell\Edit\Command]
    @="C:\\WINDOWS\\notepad.exe %1"

    [HKEY_CLASSES_ROOT\.cue\Shell\Mount]

    [HKEY_CLASSES_ROOT\.cue\Shell\Mount\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 0,\"%1\""

    [HKEY_CLASSES_ROOT\.cue\Shell\Unmount]

    [HKEY_CLASSES_ROOT\.cue\Shell\Unmount\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 0"

    [HKEY_CLASSES_ROOT\.iso]
    @=""

    [HKEY_CLASSES_ROOT\.iso\Shell]
    @="Mount"

    [HKEY_CLASSES_ROOT\.iso\Shell\Burn using DVD Decrypter]

    [HKEY_CLASSES_ROOT\.iso\Shell\Burn using DVD Decrypter\Command]
    @="\"C:\\Program Files\\Programs\\Media\\Gordian Knot\\DVDDecrypter.exe\" /MODE ISOWRITE /SOURCE \"%1\""

    [HKEY_CLASSES_ROOT\.iso\Shell\Mount]

    [HKEY_CLASSES_ROOT\.iso\Shell\Mount\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 0,\"%1\""

    [HKEY_CLASSES_ROOT\.iso\Shell\Unmount]

    [HKEY_CLASSES_ROOT\.iso\Shell\Unmount\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 0"


    [HKEY_CLASSES_ROOT\.mds]
    @=""

    [HKEY_CLASSES_ROOT\.mds\Shell]
    @="Mount"

    [HKEY_CLASSES_ROOT\.mds\Shell\Burn using DVD Decrypter]

    [HKEY_CLASSES_ROOT\.mds\Shell\Burn using DVD Decrypter\Command]
    @="\"C:\\Program Files\\Programs\\Media\\Gordian Knot\\DVDDecrypter.exe\" /MODE ISOWRITE /SOURCE \"%1\""

    [HKEY_CLASSES_ROOT\.mds\Shell\Mount]

    [HKEY_CLASSES_ROOT\.mds\Shell\Mount\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 0,\"%1\""

    [HKEY_CLASSES_ROOT\.mds\Shell\Unmount]

    [HKEY_CLASSES_ROOT\.mds\Shell\Unmount\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 0"

    [HKEY_CLASSES_ROOT\.nrg]
    @=""

    [HKEY_CLASSES_ROOT\.nrg\Shell]
    @="Mount"

    [HKEY_CLASSES_ROOT\.nrg\Shell\Burn using DVD Decrypter]

    [HKEY_CLASSES_ROOT\.nrg\Shell\Burn using DVD Decrypter\Command]
    @="\"C:\\Program Files\\Programs\\Media\\Gordian Knot\\DVDDecrypter.exe\" /MODE ISOWRITE /SOURCE \"%1\""

    [HKEY_CLASSES_ROOT\.nrg\Shell\Mount]

    [HKEY_CLASSES_ROOT\.nrg\Shell\Mount\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -mount 0,\"%1\""

    [HKEY_CLASSES_ROOT\.nrg\Shell\Unmount]

    [HKEY_CLASSES_ROOT\.nrg\Shell\Unmount\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 0"
    ====== End Regestry File ========

  2. #2
    New User
    Join Date
    19.11.2003
    Posts
    2

    Default To Umount Directly from the Mounted Drive

    To be able to unmount the image by right clicking on the drive with the mounted image, add the following to the bottom of the regestry script

    ====== Start Regestry Script =============
    [HKEY_CLASSES_ROOT\Drive\shell\Unmount]

    [HKEY_CLASSES_ROOT\Drive\shell\Unmount\Command]
    @="\"C:\\Program Files\\D-Tools\\daemon.exe\" -unmount 0"
    ====== End Regestry Script =============

  3. #3
    New User
    Join Date
    23.09.2006
    Posts
    1

    Default

    Hi to all,i'm new,but i've read you for a long time.
    Since DT4,awxDTools starts to change icons,impose to have only one icon for your images ecc... The way i hate free program that impose this things,i started to find out some solutions,and i've founded one:

    I've created (thanks to your posts) a way to mount-unmount from image file,and to Unmount from Virtual Drives,Here is the REG FILE:

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\.mds]
    @=""
    
    [HKEY_CLASSES_ROOT\.mds\Shell]
    @="Mount"
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Mount]
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Mount\Command]
    @="\"C:\\Programmi\\DAEMON Tools\\daemon.exe\" -mount 0,\"%1\""
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Unmount]
    
    [HKEY_CLASSES_ROOT\.mds\Shell\Unmount\Command]
    @="\"C:\\Programmi\\DAEMON Tools\\daemon.exe\" -unmount 0"
    
    [HKEY_CLASSES_ROOT\Drive\shell\Unmount]
    
    [HKEY_CLASSES_ROOT\Drive\shell\Unmount\Command]
    @="\"C:\\Programmi\\DAEMON Tools\\daemon.exe\" -unmount 0"
    
    [HKEY_CLASSES_ROOT\Drive\shell]
    
    [HKEY_CLASSES_ROOT\Drive\shell\explore]
    
    [HKEY_CLASSES_ROOT\Drive\shell\explore\command]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
      65,00,20,00,2f,00,65,00,2c,00,2f,00,69,00,64,00,6c,00,69,00,73,00,74,00,2c,\
      00,25,00,49,00,2c,00,25,00,4c,00,00,00
    
    [HKEY_CLASSES_ROOT\Drive\shell\explore\ddeexec]
    @="[ExploreFolder(\"%l\", %I, %S)]"
    "NoActivateHandler"=""
    
    [HKEY_CLASSES_ROOT\Drive\shell\explore\ddeexec\application]
    @="Folders"
    
    [HKEY_CLASSES_ROOT\Drive\shell\explore\ddeexec\ifexec]
    @="[]"
    
    [HKEY_CLASSES_ROOT\Drive\shell\explore\ddeexec\topic]
    @="AppProperties"
    
    [HKEY_CLASSES_ROOT\Drive\shell\open]
    
    [HKEY_CLASSES_ROOT\Drive\shell\open\command]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
      65,00,20,00,2f,00,69,00,64,00,6c,00,69,00,73,00,74,00,2c,00,25,00,49,00,2c,\
      00,25,00,4c,00,00,00
    
    [HKEY_CLASSES_ROOT\Drive\shell\open\ddeexec]
    @="[ViewFolder(\"%l\", %I, %S)]"
    "NoActivateHandler"=""
    
    [HKEY_CLASSES_ROOT\Drive\shell\open\ddeexec\application]
    @="Folders"
    
    [HKEY_CLASSES_ROOT\Drive\shell\open\ddeexec\ifexec]
    @="[]"
    
    [HKEY_CLASSES_ROOT\Drive\shell\open\ddeexec\topic]
    @="AppProperties"
    I did only for mds,but the procedure is the same and simple. Only one thing i have to ask you:
    Shell integrations for drive,comes with all drives: A: c: e:
    but my only virtual drive is H:
    there's a way to use Shell only for it?
    With this file,you can do double click on your c: and dont get problems,Unmount is only a right click options!
    thanks to all

  4. #4

    Default Didn't work

    I tried and nothing happened. I could see when right click on image files (mount and unmount) but when I click on that I get error msg
    Last edited by ballyhairs : 13.10.2006 at 15:28

  5. #5

    Default

    You have to change the paths to wherever you installed Daemon Tools.

  6. #6

    Default

    Tried both ways and end up with an error. Paths checked. Looking at Registry Editor, seems like the string content is empty. Tried to type it manually and end up with an Open With dialog when performing both Mount and Unmount operation. So I create my own steps which is far harder and longer but works for me. Anyone failed using the steps above may try this using NRG extension for example. Steps divided into 3 posts caused by the picture-per-post limitation.

    01. Open Control Panel - Folder Option
    02. Enter tab File Types

    03. Click New
    04. Enter the extension in the textbox (In this case, NRG) without the dot separator
    05. If a warning come up, answer with Yes

    06. Choose the extension you just created

    07. Click Advanced
    08. Click New
    09. In the "Action" text box, type Mount
    10. In the "Application used to perform action" text box, type "C:\Program Files\DAEMON Tools\daemon.exe" -mount 0,"%1" (The daemon.exe path should refer to your installation path)

    Continued...

  7. #7

    Default Step 2

    11. Click OK
    12. Type the extension file name to your own preference. In the example I use Image - NRG
    13. Change the icon if necessary. You can use the Daemon icon by selecting Daemon.exe as the icon

    14. Open Registry Editor by clicking Start - Run and typing regedit
    15. Open a search box by typing Ctrl + F. Enter the extension file name (Look at step 12)
    16. Go to the key pane on the left by pressing Shift + Tab key. Press * to expand all sub-keys
    17. Go to the subkey labeled Shell. Create another subkey named Unmount (Placing it in the same level as the Mount key which should already be there)
    18. Create a subkey and name it command
    19. Edit the first string data content to "C:\Program Files\DAEMON Tools\daemon.exe" -unmount 0


    The text in green should be revised to reflect your own configuration
    The reason for the seems-to-be-hard-and-dangerous registry editing step is because you can't insert the Unmount action directly from the Folder Option since Windows automatically add %1 to the end of your application path. Anyone know how to resolve this thus reducing the steps required, please post

    If you don't want the Unmount shell extension, you can stop at step 13. More reason to this is that you can unmount the image by right-clicking the virtual drive and select Eject. Or you can leave the image mounted as mounting another image will automatically replace the image after all.

    If you're using more than one virtual drive, repeat all steps but replace the virtual drive number flags (From "C:\Program Files\DAEMON Tools\daemon.exe" -mount 0,"%1" to "C:\Program Files\DAEMON Tools\daemon.exe" -mount 1,"%1" for example to mount to the second drive). Don't forget to rename the command (Mount to drive 1/X and Mount to drive 2/Y for example) to distinguish them. This goes for the Unmount command too.

    To make it even prettier, create a submenu using programs like Fast Explorer.

    Thank you and sorry for the pictures.
    Last edited by Palthron : 31.10.2006 at 20:52 Reason: Cutting a few steps, reducing picture sizes, etc

  8. #8

    Default SendTo submenu

    Another method to insert an image mounting command to the context menu is by using the native SendTo submenu.

    1. Copy the Daemon Tools shortcut to C:\Documents and Settings\[UserName]\SendTo
    2. Right click on the file and click Properties (Or just press Alt + Enter on the keyboard)
    3. Edit the Target text box by adding " -mount 0," at the end of the path (This is called flagging). The end result would look like this : "C:\Program Files\DAEMON Tools\daemon.exe" -mount 0,"%1"

    To use it, right click on an image, enter the SendTo submenu, and click the Daemon Tools icon.

    NB : This image also reflect the result of what you'd get by using the first method described in my previous post. Look at the two first selection in the image.


    Edit
    After meddling around with the Fast Explorer program, I've managed to create something like this

    The whole user interface is quite simple so I won't be writing a step-by-step tutorial for it unless asked.

    Thank you.
    Last edited by Palthron : 31.10.2006 at 22:11 Reason: Adding information about Fast Explorer

  9. #9
    New User
    Join Date
    01.11.2006
    Posts
    2

    Default

    Quote Originally Posted by Palthron
    Another method to insert an image mounting command to the context menu is by using the native SendTo submenu.

    1. Copy the Daemon Tools shortcut to C:\Documents and Settings\[UserName]\SendTo
    2. Right click on the file and click Properties (Or just press Alt + Enter on the keyboard)
    3. Edit the Target text box by adding " -mount 0," at the end of the path (This is called flagging). The end result would look like this : "C:\Program Files\DAEMON Tools\daemon.exe" -mount 0,"%1"

    To use it, right click on an image, enter the SendTo submenu, and click the Daemon Tools icon.

    NB : This image also reflect the result of what you'd get by using the first method described in my previous post. Look at the two first selection in the image.


    Edit
    After meddling around with the Fast Explorer program, I've managed to create something like this

    The whole user interface is quite simple so I won't be writing a step-by-step tutorial for it unless asked.

    Thank you.
    do U mind walking me thru these "simple" steps please.
    I will be very grateful.
    Thank you

  10. #10

    Default

    Quote Originally Posted by emucox
    do U mind walking me thru these "simple" steps please.
    Any particular reason not to use a readily available plugin such as awxDTools?

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •