Eject cdrom command line windows 7




















Improve this question. JohnB 1 1 gold badge 2 2 silver badges 15 15 bronze badges. Penguinz Penguinz 2 2 gold badges 5 5 silver badges 11 11 bronze badges.

Im running windows 7, so batch files from xp may not work. I'm asking a Meta question on this since I'm confused as well, and the tag makes no mention of when batch-file questions become off-topic. The xp version is giving me problems. On Meta: When are 'batch-file' questions off-topic? Show 2 more comments. Active Oldest Votes. Item i.

Improve this answer. Community Bot 1. Roke Roke 1 1 gold badge 10 10 silver badges 30 30 bronze badges. You need to state where you got it from: This is not my work, I found it online. If you can't remember, you need to delete your answer for copyright reasons.

This answer is being discussed on Meta: How do we deal with answers that do not attribute? Technically speaking, this is a VBS solution, not a batch file solution. To clarify my previous comment, I don't mean to say that this isn't an appropriate answer for the question as stated, merely that perhaps the opening line "You can eject a cd with a batch file" should be modified slightly. If my system's configuration supports the execution of batch files but not of VB scripts, this answer will not work for me.

As of Dec , Windows Defender on Windows 10 will detect the generated script as a virus when run — hooby3dfx. Add a comment. NameSpace ParseName 'D:'. CreateObject 'Shell. Application' ; oSH. ParseName WSH. Arguments 0. InvokeVerb 'Eject' ; If you prefer to have your script detect the drive letter for the CD drive, that can be arranged as well. Drives ; while! ParseName x. InvokeVerb 'Eject' ; while x. IsReady WSH. Push the wire into this little hole: you should feel a bit of resistance, but the paper clip will push in further and the disc tray will eject slightly.

Pull the disc tray into the open position and remove the disc. Locate the external hard drive that you want to eject. Under Notification Area, choose Select which icons appear on the taskbar. Eject buttons are usually right beside the drive door. Some PCs have eject keys on the keyboard, usually near volume controls. Look for key with an upward-pointing triangle with a horizontal line underneath. Close all open apps. Press the eject button. Click Eject.

Did this summary help you? Yes No. Log in Social login does not work in incognito and private browsers. Please log in with your username or email to continue. No account yet? Create an account. Edit this Article. We use cookies to make wikiHow great. By using our site, you agree to our cookie policy. Cookie Settings. Learn why people trust wikiHow. Download Article Explore this Article methods. Tips and Warnings. Related Articles. Article Summary. Method 1. All rights reserved.

This image may not be used by other entities without the express written consent of wikiHow, Inc. If any open apps are accessing files on the CD or DVD inside the drive, close those apps—Windows will not eject the tray otherwise. Eject buttons are usually right beside the drive door. Some PCs have eject keys on the keyboard, usually near volume controls. Look for key with an upward-pointing triangle with a horizontal line underneath.

Continue with this method if the eject button doesn't work. Your list of drives will appear on the left panel. You may have to scroll down to the bottom to find it under "This PC. If you're not sure which drive is correct, look for a name or icon reflecting the disk that's inside. If no disk is inside, you may see something like "Optical" or "DVD" near the drive letter instead.

Click Eject on the menu. As long as the drive is working properly and no apps are currently accessing files on the CD or DVD in the drive, the tray should now slide open. If the tray will not open, reboot the PC and try these steps again. If the tray doesn't open after a reboot, see Using a Paperclip if the Drive is Stuck. Method 2. Turn off your PC. If you can't eject the tray using the physical eject button if there is one or Windows , the door is probably jammed.

Turning off your computer will stop the disk from spinning and make it safe to open the drive with a paperclip. You'll usually see a small round pinhole on, below, or beside the drive tray. Behind that hole is a button that can eject the tray whether the PC is on or off. If you're using a desktop PC and don't see a pinhole, you'll need to remove the front panel to make it visible. Check your PC's manual for instructions on removing the panel. Remove all power cords. It's important that your PC is not connected to a power source when attempting to open the tray with a paperclip.



0コメント

  • 1000 / 1000