Results 1 to 5 of 5
  1. #1
    Bronze Lounger
    Join Date
    Feb 2001
    Location
    Escondido, California, USA
    Posts
    1,458
    Thanks
    0
    Thanked 1 Time in 1 Post

    Eject CD Command (XP Home)

    Is there a batch command that ejects a CD? That would be very useful to me.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 18 Times in 18 Posts

    Re: Eject CD Command (XP Home)

    I don't think there's a builtin command line instruction to eject a CD, but there are several free utilities that can do this. For example, NirCmd - Freeware command-line tool. With this tool installed in a folder in your search path, you can use

    nircmd.exe cdrom open e:

    to eject the disk in drive E: (and using close instead of open will do the reverse).

  3. #3
    Bronze Lounger
    Join Date
    Feb 2001
    Location
    Escondido, California, USA
    Posts
    1,458
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Eject CD Command (XP Home)

    Thanks Hans, I'll give it a shot.

  4. #4
    Super Moderator BATcher's Avatar
    Join Date
    Feb 2008
    Location
    A cultural area in SW England
    Posts
    2,849
    Thanks
    19
    Thanked 110 Times in 104 Posts
    [quote name='Chuck Tucker' post='596700' date='02-Sep-2006 23:16']Is there a batch command that ejects a CD? That would be very useful to me.[/quote]
    Having just received two different Dell Vostro laptop models which have CD slots and not trays - and most importantly no CD eject button - I wanted a very simple program which could be invoked from a desktop icon and did nothing but eject the CD when double-clicked. I found this one from Cortex (the makers of BackupAssist). The only snag is getting the number of embedded 'e's correct, if you have to type the program name!

    Other ways of doing it, but most of them require a bit more effort...
    BATcher

    Dear Diary, today the Hundred Years War started ...

  5. #5
    Uranium Lounger
    Join Date
    Mar 2001
    Location
    New Jersey
    Posts
    6,684
    Thanks
    1
    Thanked 11 Times in 11 Posts
    [quote name='Chuck Tucker' post='596700' date='02-Sep-2006 18:16']Is there a batch command that ejects a CD? That would be very useful to me.[/quote]

    You can put a shortcut to the drive in question on your desktop and right click on it to get a drop-down menu with the "Eject" option.
    <IMG SRC=http://www.wopr.com/w3tuserpics/DocWatson_sig.gif>

Posting Permissions

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