VideoHelp Forum
+ Reply to Thread
Results 1 to 17 of 17
Thread
  1. Hi, sorry but I'm a cat (Yes a cat! )

    please I use a xdcam disc external drive (is not a CDROM drive), assigned to the letter "F:"

    by right clic on it using the mouse I can see the "eject" command. I wonder if is there a way to execute the eject operation via commandline. Thanks
    Quote Quote  
  2. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    FFS !!!!!!

    Next you will want to close the drive with a command prompt.

    Totally useless idea.
    Quote Quote  
  3. naa via commandline is a great idea

    Image
    [Attachment 45714 - Click to enlarge]
    Quote Quote  
  4. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    Google Batch Command Line to Eject CD Tray? Creates vbs script.

    https://stackoverflow.com/questions/19467792/batch-command-line-to-eject-cd-tray
    Quote Quote  
  5. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    If you wish to use a separate callable utility. Check out NirCmd. http://www.nirsoft.net/utils/nircmd.html . It opens and closes drives, speaks text and a lot more usable in (you got to love it...) Batch files. Offered as freeware.
    Quote Quote  
  6. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    Install Hotswap! and use command prompt, thus:

    hotswap! m:

    http://mt-naka.com/hotswap/index_enu.htm
    Last edited by sambat; 24th May 2018 at 14:42.
    Quote Quote  
  7. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    Here we go again!
    Quote Quote  
  8. Member
    Join Date
    Jul 2007
    Location
    United States
    Search Comp PM
    Some of the OP's questions make me wonder if he's developing viruses. I would guess it's easier to automatically execute commands through a command line script than through a GUI.
    Quote Quote  
  9. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Oh. He's developed a virus alright !!!
    Quote Quote  
  10. Member
    Join Date
    Aug 2010
    Location
    San Francisco, California
    Search PM
    Feline leukemia.
    Quote Quote  
  11. wineject works but seems don't have a commandline way.

    The .VBS: I don't know why but it don't works.

    The nirsoft works only on CDROM drive, in my xdcam Sony PDW-U2 drive don't works.

    Hotswap seems to me don't have an "eject" function, only a "safe remove" function.

    This seems work:

    Code:
    powershell "(new-object -COM Shell.Application).NameSpace(17).ParseName('G:').InvokeVerb('Eject')"
    but it employ few seconds before eject
    Quote Quote  
  12. Member
    Join Date
    Mar 2008
    Location
    Netherlands
    Search Comp PM
    wineject works but seems don't have a commandline way.
    according to his website it does. Did you try it in cmd maybe with --help or /? for options or google for commandline options
    Quote Quote  
  13. Rancid User ron spencer's Avatar
    Join Date
    May 2005
    Location
    Ish-ka-bibble
    Search Comp PM
    The cat is back!! Has it had its distemper shots?? Not likely.
    Image Attached Thumbnails Click image for larger version

Name:	tabby-with-at-tablet.jpg
Views:	163
Size:	61.4 KB
ID:	45750  

    'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie
    Quote Quote  
  14. Originally Posted by sambat View Post
    Install Hotswap! and use command prompt, thus:

    hotswap! m:

    http://mt-naka.com/hotswap/index_enu.htm
    Nice find!
    I have 3 hot swap bay/doc/rack, the SATA ports are set to work as a hot swap device on the BIOS/UEFI but it never worked on Windows 7 or 10, if you try, it always say that the device is busy.
    With this little app it works with a click, clean and simple!

    Thanks!

    For the OP question, I use this:
    Code:
    RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
    Save as a BAT or CMD and run it as a administrator, the hotswap app is much better!
    Quote Quote  
  15. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    To eject the dvd drive using 'Command Prompt' type:
    explorer f:

    -where f is the drive.
    Quote Quote  
  16. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    That is not a valid command switch to eject. It just opens up a window of the root of the f drive.
    Explorer.exe does not have as one of its command switch options an eject feature.

    Try "freeeject.exe".

    Scott

    (Though, honestly, I do not understand how anyone with money to spend on a ~$4000USD xdcam drive cannot put in the investment for things like proper tools and/or poweshell training)
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!