VCDMount.exe command line

Discussion in 'Virtual CloneDrive' started by littlerufe, Nov 5, 2007.

  1. littlerufe

    littlerufe New Member

    I'm trying to find the documentation for VCDMount command line arguments. I tried looking in the manual that was installed with it, and I tried "VCDMount.exe /?". There seems to be no help associated with this .exe

    I want to script the mounting/unmounting of images to the drive. Can anyone provide the command line for this?

  2. littlerufe

    littlerufe New Member

    Removing mount history from context menu

    Does anyone know if there's a way to tell Virual CloneDrive to not display the last mounted drive? I found a couple of registry entries that I can delete to remove the history, but was hoping there was a setting somewhere.


    P.S. For now, these commands seem to work:
    reg delete "HKEY_CURRENT_USER\Software\Elaborate Bytes\VirtualCloneDrive\LRU" /f

    reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Elaborate Bytes\VirtualCloneDrive\0" /v LastMountedFile /f

    Last edited: Nov 5, 2007
  3. Blazkowicz

    Blazkowicz Well-Known Member

    You mean last mounted file and not mounted drive as our parameter also delete's mounted file and not drive..

    Haven't found something in Virtual CloneDrive, but i have a solution for you.

    Open regedit and navigate to the first registry entry you mentioned. Do a rightclick on LRU, permissions, select the username you are, best is to add "everyone" (it is possible you have to translate everyone into your windows language), and deny full access to this user. You should see no list anymore when you are doing a rightlick on virtual drive.
  4. Blazkowicz

    Blazkowicz Well-Known Member

    For mounting:

    vcdmount.exe image name, e. g. vcdmount.exe "m:\image name.iso"

    For unmounting:

    vcdmount.exe /u


    These are two different problems.
  5. Webslinger

    Webslinger Retired Moderator

    Alright, fair enough . . .
  6. Blazkowicz

    Blazkowicz Well-Known Member

    Just a little addition:

    For mounting in different virtual drives:

    vcdmount /d=X imagefile

    where x is your "virtual drive number-1", e. g. you want to mount the image into virtual drive 1 you have to use 0 for x, for drive 8 you have to use 7.

    when you want to unmount image in drive 8 you have to use "vcdmount.exe /d=7 /u"

    VCDMount only knows the switches /u for unmounting and /d=x for selecting which drive should mount/unmount image.
    Last edited: Nov 5, 2007
  7. littlerufe

    littlerufe New Member

    Great idea, Blazkowicz...I'll give this a shot (this answers the question in my other post about removing the mounted image history from the context menu).

    This is what I was looking for...thank you. I don't know why they didn't include usage instructions for an executable that takes command line parameters!

  8. littlerufe

    littlerufe New Member

    FYI: Blazkowicz answered this question in my other thread:

  9. Blazkowicz

    Blazkowicz Well-Known Member

    Well Webslinger has merged both threads and then splitted and he forgot to split my posting too.
  10. Webslinger

    Webslinger Retired Moderator

    I'll just merge the threads back together.
  11. stealth82

    stealth82 Member

    I unable to use VCDMount in my Vista 32bit.

    I tried with the /d=1 option (I have only 1 drive) and without it.

    From command line, simply it does nothing! No messages, no errors, no mounting.

    Instead from a drive mount/unmount actions it works.
  12. stealth82

    stealth82 Member

    Nevermind, I resolved it with the latest beta.
  13. dleach

    dleach Member

    The original question seems to have never been answered. Is there any documentation on the command line options to VCDMount? I've tried searching but with no luck so far...

  14. James

    James Redfox Development Team Staff Member


    start vcdmount

    from the command prompt. That's all documentation there is, I'm afraid.
  15. Blazkowicz

    Blazkowicz Well-Known Member

    Command line switches were posted above by me, so i wonder why he is asking when the answer lies above.
  16. dleach

    dleach Member

    So in two different postings you refer to a command line switch of /u and another one of /d. These are the only switches available?

    I don't understand why it is so hard to support /? or /h on any utility that supports command line options.

  17. DrinkLyeAndDie

    DrinkLyeAndDie Retired Moderator



    James also said how to view all the command-line switches.

    That really falls on the developers. That said, there aren't many options and what is needed is shown by simply executing VCDMount.exe with no parameter. Between that and the VCD options window everything should be self-explanatory.

    Attached Files:

    • VCD.jpg
      File size:
      68.9 KB
  18. dleach

    dleach Member

    Thanks for the screen shot. I was originally responding to Blazkowicz's response about the options. What I missed in James' response was that he was trying to tell me that if you execute vcdmount without any options it will display a usage screen. Thanks for pointing this out. I guess I'm old school about command line tools always having a /? or /h option.