net2dio Posted September 10, 2009 Share Posted September 10, 2009 Can i create a file to go unless it is burned on a CD / DVD, if not give me a message error like "Missing file(s) ... " for example... ? It is posible that? thanks Link to comment Share on other sites More sharing options...
99ojo Posted September 10, 2009 Share Posted September 10, 2009 Can i create a file to go unless it is burned on a CD / DVD, if not give me a message error like "Missing file(s) ... " for example... ? It is posible that? thanks Hi, try this: $drives = DriveGetDrive ("CDROM") $cdrom = False For $i = 1 To UBound ($drives) - 1 If StringInStr (@ScriptDir, $drives [$i]) <> 0 Then $cdrom = True ExitLoop EndIf Next If not $cdrom Then MsgBox (0,"Error....", "Missing Files!") Exit EndIf ;-)) Stefan Link to comment Share on other sites More sharing options...
net2dio Posted September 10, 2009 Author Share Posted September 10, 2009 Thanks... thats great Link to comment Share on other sites More sharing options...
99ojo Posted September 10, 2009 Share Posted September 10, 2009 Thanks... thats greatBut remember Tools like Alcohol or other which are simulating ISO as CD Rom Drive.;-))Stefan 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