free log
CRM

Bozteck VNCScan Community

Community makes things happen
Welcome to Bozteck VNCScan Community Sign in | Join | Help
in
Home Forums

Open Remote CD Drive

Last post 08-29-2007, 7:56 PM by Sam Crane. 1 replies.
Sort Posts: Previous Next
  •  08-28-2007, 12:02 PM 2073

    Open Remote CD Drive

    I'm not sure if there is a really practical purpose behind this one.  Personally I think it makes a great practical joke.

    Wink [;)]   Devil [6]

    For Each d In CreateObject("Scripting.FileSystemObject").Drives
        If d.DriveType = 4 Then
            CreateObject("Shell.Application").Namespace(17).ParseName(d.DriveLetter & ":\").InvokeVerb("E&ject")
        End If
    Next

    Just use Remote Script Manager, paste the above code into a remote script, add a user id and password and set it to run as VBS.

  •  08-29-2007, 7:56 PM 2076 in reply to 2073

    Re: Open Remote CD Drive

    Ha!  Yea, we used to do that to each other in a Windows certification class that I took a few years ago.  Every student was an "Administrator" on every computer in the classroom.  Good times.

    Best Regards,

    Samuel E. Crane
    Senior Support Specialist
    support@vncscan.com
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems