hi ,
I want to get drive information.
This script run well :
$var = DriveGetDrive( "all" )
If NOT @error Then
For $i = 1 to $var[0]
$variable = DriveGetLabel( $var[$i] )
if $variable = "sauvegarde" then
MsgBox(4096,"INFO","Drive " & $var[$i] & "->" & $variable)
endif
Next
EndIf
But when i want to get drive letter i have a problem to execute script
Dim $monlecteur
$var = DriveGetDrive( "all" )
If NOT @error Then
For $i = 1 to $var[0]
$variable = DriveGetLabel( $var[$i] )
if $variable = "sauvegarde" then
MsgBox(4096,"INFO","Drive " & $var[$i] & "->" & $variable)
$monlecteur = $var[$i]
MsgBox(4096,"INFO","Drive " $MonLecteur)
endif
Next
EndIf
Thank you.h