Eject CD
-
- 2StarLounger
- Posts: 189
- Joined: 26 Jan 2010, 23:39
- Location: Florida, USA
Eject CD
Hello! Hope everyone is well and staying safe.
I have a little program that I got years ago call EjectCD.exe It does one thing and only one thing. I guess it's a "freeware runtime file". Believe it or not, it still works on Windows 10!
This is what is annoying, when I double click on it, a dos window opens up and stays for a few seconds, even after the tray has been opened. Is there a setting to make it work like hidden or something? Sorry if I don't know the correct terminology. LOL
Thank you!
I have a little program that I got years ago call EjectCD.exe It does one thing and only one thing. I guess it's a "freeware runtime file". Believe it or not, it still works on Windows 10!
This is what is annoying, when I double click on it, a dos window opens up and stays for a few seconds, even after the tray has been opened. Is there a setting to make it work like hidden or something? Sorry if I don't know the correct terminology. LOL
Thank you!
Louise
-
- Administrator
- Posts: 78236
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Eject CD
Hi Louise,
Welcome back!
There are several utilities named EjectCD.exe. Please right-click the one that you use, and select Properties from the context menu.
Then activate the Details tab.
What is listed as Product name and as Copyright? Or make a screenshot of the window and post it here. Thanks in advance!
Welcome back!
There are several utilities named EjectCD.exe. Please right-click the one that you use, and select Properties from the context menu.
Then activate the Details tab.
What is listed as Product name and as Copyright? Or make a screenshot of the window and post it here. Thanks in advance!
Best wishes,
Hans
Hans
-
- 2StarLounger
- Posts: 189
- Joined: 26 Jan 2010, 23:39
- Location: Florida, USA
Re: Eject CD
Hi Hans. Will do as soon as I return home.
I wonder if those that you found are more current. Will have to check that out as well!
Thank you!
I wonder if those that you found are more current. Will have to check that out as well!
Thank you!
Louise
-
- 4StarLounger
- Posts: 475
- Joined: 21 Feb 2020, 21:27
- Location: Vermont (USA)
Re: Eject CD
As a side note: this may or may not be of interest to you, but I'll mention it:
If you drag the CD drive icon from "my computer" onto your desktop, it will create a shortcut "with features." Then if you right-click on that icon, you can select "eject" from the drop-down menu that appears. It's two steps instead of one, I know. But it's simple and works flawlessly.
(this works in Windows 7; I assume it works in 10, but I don't know)
Added: It appears that you can also create a direct shortcut to the eject command line, also. It's a little more involved to create and I haven't tried it, but if you're interested, the details are here.
If you drag the CD drive icon from "my computer" onto your desktop, it will create a shortcut "with features." Then if you right-click on that icon, you can select "eject" from the drop-down menu that appears. It's two steps instead of one, I know. But it's simple and works flawlessly.
(this works in Windows 7; I assume it works in 10, but I don't know)
Added: It appears that you can also create a direct shortcut to the eject command line, also. It's a little more involved to create and I haven't tried it, but if you're interested, the details are here.
Last edited by Nick Vittum on 17 May 2020, 15:23, edited 1 time in total.
—Nick
I’m only an egg (but hard-boiled)
I’m only an egg (but hard-boiled)
-
- Administrator
- Posts: 78236
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
-
- 2StarLounger
- Posts: 189
- Joined: 26 Jan 2010, 23:39
- Location: Florida, USA
Re: Eject CD
Hello again,
Nick, That sounds interesting. I'll check it out.
Hans, Here's the screenshot that you mentioned:
Nick, That sounds interesting. I'll check it out.
Hans, Here's the screenshot that you mentioned:
You do not have the required permissions to view the files attached to this post.
Louise
-
- 2StarLounger
- Posts: 189
- Joined: 26 Jan 2010, 23:39
- Location: Florida, USA
Re: Eject CD
Nick, I don't think that will work for me as my CD/DVD is external. Only shows up when I plug it in which is not very often.
Thanks
Thanks
Louise
-
- 2StarLounger
- Posts: 189
- Joined: 26 Jan 2010, 23:39
- Location: Florida, USA
Re: Eject CD
Hello again,
I changed the "run" section on the desktop shortcut to "minimized". That is acceptable to me. Big Dos window blocking everything doesn't come up now. Good enough for me!
Thank you all,
I changed the "run" section on the desktop shortcut to "minimized". That is acceptable to me. Big Dos window blocking everything doesn't come up now. Good enough for me!
Thank you all,
Louise
-
- 2StarLounger
- Posts: 189
- Joined: 26 Jan 2010, 23:39
- Location: Florida, USA
Re: Eject CD
Nick,
I plugged in the drive and created a shortcut. Works fine! Doesn't go away when the drive is unplugged which I thought it would. This is a great alternative! Thank you!
I plugged in the drive and created a shortcut. Works fine! Doesn't go away when the drive is unplugged which I thought it would. This is a great alternative! Thank you!
Louise
-
- Administrator
- Posts: 78236
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
-
- 2StarLounger
- Posts: 189
- Joined: 26 Jan 2010, 23:39
- Location: Florida, USA
Re: Eject CD
I do Hans, thank you. I'll be posting something else under Excel and I know you are the expert and will be able to help me there! LOL
Louise
-
- 2StarLounger
- Posts: 189
- Joined: 26 Jan 2010, 23:39
- Location: Florida, USA
Re: Eject CD
Hi Hans,
I worked it out again! I just need to be more patient with myself. Won't be going to over to Excel after all!
I worked it out again! I just need to be more patient with myself. Won't be going to over to Excel after all!
Louise
-
- Administrator
- Posts: 78236
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
-
- 4StarLounger
- Posts: 475
- Joined: 21 Feb 2020, 21:27
- Location: Vermont (USA)
Re: Eject CD
You're more than welcome. With all the help I've received here, it's nice to be able to give back a little....
Dr.Seuss wrote: "—no matter how small."
—Nick
I’m only an egg (but hard-boiled)
I’m only an egg (but hard-boiled)
-
- PlutoniumLounger
- Posts: 15498
- Joined: 24 Jan 2010, 23:23
- Location: brings.slot.perky
Re: Eject CD
late on the scene ...
I have a little BATch file, whose contents I reproduce below. Copy the text into a Notepad file and save the file as "EjectMe.bat"
Cheers
Chris
REM https://superuser.com/questions/972447/ ... ia-the-cmd
:: 3:36 PM 09/09/2018
@echo off
echo Set oWMP = CreateObject("WMPlayer.OCX.7") >> %temp%\temp.vbs
echo Set colCDROMs = oWMP.cdromCollection >> %temp%\temp.vbs
echo For i = 0 to colCDROMs.Count-1 >> %temp%\temp.vbs
echo colCDROMs.Item(i).Eject >> %temp%\temp.vbs
echo next >> %temp%\temp.vbs
echo oWMP.close >> %temp%\temp.vbs
%temp%\temp.vbs
timeout /t 1
del %temp%\temp.vbs
REM END https://superuser.com/questions/972447/ ... ia-the-cmd
I have a little BATch file, whose contents I reproduce below. Copy the text into a Notepad file and save the file as "EjectMe.bat"
Cheers
Chris
REM https://superuser.com/questions/972447/ ... ia-the-cmd
:: 3:36 PM 09/09/2018
@echo off
echo Set oWMP = CreateObject("WMPlayer.OCX.7") >> %temp%\temp.vbs
echo Set colCDROMs = oWMP.cdromCollection >> %temp%\temp.vbs
echo For i = 0 to colCDROMs.Count-1 >> %temp%\temp.vbs
echo colCDROMs.Item(i).Eject >> %temp%\temp.vbs
echo next >> %temp%\temp.vbs
echo oWMP.close >> %temp%\temp.vbs
%temp%\temp.vbs
timeout /t 1
del %temp%\temp.vbs
REM END https://superuser.com/questions/972447/ ... ia-the-cmd
An expensive day out: Wallet and Grimace
-
- 2StarLounger
- Posts: 189
- Joined: 26 Jan 2010, 23:39
- Location: Florida, USA
-
- PlutoniumLounger
- Posts: 15498
- Joined: 24 Jan 2010, 23:23
- Location: brings.slot.perky
Re: Eject CD
You are welcome.
I have found it especially useful on the DELL laptop whose "eject" button is broken.
EjectMe.bat is like having a little robot inside the laptop with its own paper-clip!
Cheers
Chris
An expensive day out: Wallet and Grimace
-
- 2StarLounger
- Posts: 189
- Joined: 26 Jan 2010, 23:39
- Location: Florida, USA
Re: Eject CD
Chris,
You’re right. It’s funny to see it work. That’s what I liked about the little file that I’ve had for years.
Thanks again,
You’re right. It’s funny to see it work. That’s what I liked about the little file that I’ve had for years.
Thanks again,
Louise
-
- GoldLounger
- Posts: 3081
- Joined: 24 Jan 2010, 19:07
Re: Eject CD
ChrisGreaves wrote: ↑21 May 2020, 23:56I have found it especially useful on the DELL laptop whose "eject" button is broken.
EjectMe.bat is like having a little robot inside the laptop with its own paper-clip!
Since my (main) desktop has door at the front, the little tray would hit a wall within just a couple of mm.
(I may have missed it, but what's wrong with the option to eject a CD/DVD via context menu in Explorer? Obviously a link on the Desktop is one or two clicks less.)
Byelingual When you speak two languages but start losing vocabulary in both of them.
-
- PlutoniumLounger
- Posts: 15498
- Joined: 24 Jan 2010, 23:23
- Location: brings.slot.perky
Re: Eject CD
Hi Argus.
Quite so.
I am sure that I had tried r/c eject before heading off to do a search of the web.
I quite like the heavy-handedness of EjectMe.bat.
Cheers
Chris
An expensive day out: Wallet and Grimace