I've seen a few executables/utilities that do it, and many forums that say it is not possible to do. But is there any DOS command that I can rely on in a typical XP installation?
|
feedback
|
|
There seems to be no way using rundll or a preexisting executable. If you have windows scripting host installed, maybe the following helps (untested, copied from another forum)
Change the (0) if you have more than one drive. | |||||
|
feedback
|
|
I can do better than that... Paste this into a batch file called "eject.bat":
You can pass any drive letter to this batch file, so you can eject any drive. You can even eject devices like iPods and USB drives. | |||||
feedback
|
|
There is a windows API call to do it, but unfortunately not a built in command. There is a command line tool you can download though that will do the job. | |||
|
feedback
|
|
Executables do it using the | ||||
|
feedback
|