BigDaddyO Posted April 13, 2006 Share Posted April 13, 2006 (edited) I am doing a fileOpen() command on E: to see if I have write access to it. Well if the E: happens to be a CD-ROM drive that was recently accessed but there is now no CD in there I get a No Disk message box.The only line in a test script: FileOpen("E:\File.txt", 2)Attached is a screenshot of the Message I recieve.I don't want the end user to get this message so How do I prevent it from popping up?edit: turns out you get almost the same message when doing the FileOpen to a floppy with no disk in there.Thanks,Mike Edited April 13, 2006 by MikeOsdx Link to comment Share on other sites More sharing options...
CyberSlug Posted April 13, 2006 Share Posted April 13, 2006 If DriveStatus("E" = "READY" Then FileOpen("E:\File.txt", 2) Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now