Jump to content

How drivegetdrive work to check?


Recommended Posts

How can I use DriveGetDrive option to check all the drives attched on PC & then tell it by using DriveGetType I want to tell it that if it CDROm then open the CD room???

$cdroms = DriveGetDrive("CDROM")
for $i = 1 to $cdroms[0]
CDTray ($cdrom[$i], "open" )
Next
Edited by maqleod
[u]You can download my projects at:[/u] Pulsar Software
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...