Eject and Close CD/DVD Tray - Add to Desktop Context Menu

Page 5 of 9 FirstFirst ... 34567 ... LastLast

  1. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #40

    Great news Chuck.

    I'm not aware of any programs that'll do this automatically for you.
      My Computer


  2. Posts : 2
    Windows 7 ultimate x64
       #41

    I'm getting " is not a valid win32 application"
    Is this because my CD-DVD drive letter is "w" ???
    Pls help me
    thanks
      My Computer


  3. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #42

    Hello Sesha, and welcome to Seven Forums.

    The drive letter wouldn't matter. The context menu uses the default CD/DVD drive.

    It sounds like you may not have download the 64-bit version of the nircmd.exe file in step 2A.

    Double check through the steps to make sure that you didn't miss anything by mistake. :)
      My Computer


  4. Posts : 2
    Windows 7 ultimate x64
       #43

    I "think" i'v followd the procedure and YES, ussed nircmd.exe x64. This time no warning, tray DOESNOT open, but notice
    kind of command prompt flasing in the background??
    Thanks and much appreciate yr kind help
    best rgds
      My Computer


  5. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #44

    If your Windows is not an English version, then their could be a translation issue with the commands and registry entries from this.

    If your experienced, you could edit the .bat and .reg file to compare with your Windows to make sure that the paths are the same language or not.
      My Computer


  6. Posts : 8
    Windows 7 x64
       #45

    great job. it works in windows 7 and windows 10 also
      My Computer


  7. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #46

    Thank you for confirming BC66. :)
      My Computer


  8. Posts : 1
    Win 2k, Win XP pro, Win7 ult. 32 AND 64 bit, Win8.1 Pro 64 bit
       #47

    The way you described it is not working.

    Firstly: One needs to tell the explicit path under "command"
    Secondly: It is not very clever to make it for the desktop right click dialog only.
    You cannot expect anybody to deliberately change to the desktop each time
    the command is needed. This is highly annoying.
    Instead it should be working on rightclick inside the file explorer at least,
    if not from about everywhere no matter where you just are (global command)
    Thirdly: It works only for ONE single drive that a user can specifically name, if necessary,
    if it isn't the standard D:

    So, your idea isn't bad, however, the solution unfortunately isn't very well.

    For my needs, I now get along after I changed the registry entry as follows:

    [HKEY_CLASSES_ROOT\*\Shell\Eject/Close CD/DVD Tray]
    "icon"="imageres.dll,-30"
    [HKEY_CLASSES_ROOT\*\Shell\Eject/Close CD/DVD Tray\command]
    "C:\Windows\System32\Eject-Close_CD-DVD.bat" "%1"

    [HKEY_CLASSES_ROOT\Directory\Shell\Eject/Close CD/DVD Tray]
    "icon"="imageres.dll,-30"
    [HKEY_CLASSES_ROOT\Directory\Shell\Eject/Close CD/DVD Tray\command]
    "C:\Windows\System32\Eject-Close_CD-DVD.bat" "%1"

    sent by jhs
      My Computer


  9. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #48

    Hello jhs, and welcome to Seven Forums. :)

    I've updated the .reg files in the tutorial to include these locations as well now to help.
      My Computer


  10. Posts : 24
    Win 2000 Pro x32 SP4 / Win 7 Home Premium x64
       #49

    Ok, that's kewl. BUT, does it work for multi-drives AND can you select the drive in the right-click context menu with the "New" registry update? I like the idea of having it in the "global" context menu, awesome idea.
      My Computer


 
Page 5 of 9 FirstFirst ... 34567 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:39.
Find Us