david.kingham wrote:
Code:
FileList =
Loop %temp%\revittemp*
FileList = %FileList%%A_LoopFileFullPath% `n
Loop, Parse, FileList, `n
FileDelete %A_LoopField%
Is this your actual code or a snippet?
Quote:
The One True Brace (OTB) style may optionally be used with normal loops (but not specialized loops such as file-pattern and parsing). For example:
Loop
{
...
}
Loop %RepeatCount%
{
...
}
Specialized loops: Loops can be used to automatically retrieve files, folders, or registry items (one at a time). See file-loop and registry-loop for details. In addition, file-reading loops can operate on the entire contents of a file, one line at a time. Finally, parsing loops can operate on the individual fields contained inside a delimited string.