Created
January 21, 2013 03:47
-
-
Save hasegawayosuke/4583466 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' Open shell:favorites folder from Explorer | |
' and save this file at there | |
Dim wmp | |
Dim drives | |
Dim i | |
Set wmp = CreateObject( "WMPlayer.OCX" ) | |
Set drives = wmp.cdromCollection | |
For i = 0 To drives.Count - 1 | |
drives.Item( i ).Eject | |
Next |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment