Eject CD/DVD using VBS or Powershell Tag(s): WSH VBScript
[VBS]
Set oSH = CreateObject("Shell.Application")
Set oNS=oSH.NameSpace(17)
Set oCD=oNS.ParseName("F:")
oCD.InvokeVerb "Eject"
Wscript.sleep 3000
powershell "(new-object -COM Shell.Application).NameSpace(17).ParseName('F:').InvokeVerb('Eject')"
For a Powerbuilder solution, see this HowTo.
mail_outline
Send comment, question or suggestion to howto@rgagnon.com
Send comment, question or suggestion to howto@rgagnon.com