I've just managed to break a script I'm working on and I can't work out why.
The error is "Next" statement with no matching "For" statement.Code:#include <file.au3> Dim $aRecords Dim $DirLoc _FileReadToArray("list.txt",$aRecords) For $x = 1 to $aRecords[0] $DirLoc = "C:\Documents and Settings\" & $aRecords[$x] If FileExists($DirLoc) Then DirRemove ($DirLoc ,1) NEXT



LinkBack URL
About LinkBacks
Reply With Quote



