Sign in to follow this  
Followers 0
net2dio

Only from CD/DVD

4 posts in this topic

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

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

Thanks... thats great

Share this post


Link to post
Share on other sites

Thanks... thats great

But remember Tools like Alcohol or other which are simulating ISO as CD Rom Drive.

;-))

Stefan

Share this post


Link to post
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
Sign in to follow this  
Followers 0