Clever1mba 0 Posted May 20, 2005 (edited) Hello i want to know how to label all drive once im trying this but have some error it only change C: Local $c, $Drives = DriveGetDrive("FIXED") For $c = 1 to $Drives[0] If $Drives[$c] <> @HomeDrive ThenRunWait("LABEL & $Drives[$c]" & 'new',"",@SW_HIDE) EndIf Next Edited May 20, 2005 by asimzameer Share this post Link to post Share on other sites
Wb-FreeKill 0 Posted May 20, 2005 Hello i want to know how to label all drive once im trying this but have some error it only change C:<{POST_SNAPBACK}>Why not do something like this?$Var = DriveGetdrive("FIXED") For $i = 1 To $Var[0] DriveSetLabel($Var[$i], "NewLabel"& $i) Next Share this post Link to post Share on other sites