hi,
bin gerade dabei ne daemontools.au3 zu schreiben nur funktioniert mount mal überhaupt nicht
[autoit]
Dim $path_img = "X:\image.cue"
Dim $daemontoolspath = "C:\Programme\DAEMON Tools\daemon.exe"
$test = _mountdtools($daemontoolspath, $path_img, 1)
Msgbox(0,"",$test)
Func _mountdtools($path, $image, $device)
If StringRegExp($path, "(daemon.exe)", 0, 1) = 1 AND StringRegExp($device, "[0123]") = 1 AND StringLen($device) = 1 Then
Dim $image = '"'&$image&'"'
Msgbox(0,"",$path)
$command = $path&" -mount "&$device", "&$image
Msgbox(0,"",$command)
;run($path&" -mount "&$device, $image)
Return 1
Else
Return 0
EndIf
EndFunc ;==> _mountdtools($path, $image, $device)
sollte eigentlich das image mounten, aber es klappt einfach nicht
Auszug von der Daemontoolseite
ZitatAlles anzeigen
-mount
allows mounting images from command line (or shortcut).
Syntax is: -mount <n>,<path>
where 'n' means DVD-ROM device number ('0' - '3' allowed) and 'path' is the full path to the image file.
Example: daemon.exe -mount 0,"c:\My Images\nameofimage.cue".
Do not forget to set the path in quotes if it contains spaces!