Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   recursive list of all files in a directory (http://forums.winamp.com/showthread.php?t=276905)

machiel 4th September 2007 14:12

recursive list of all files in a directory
 
How can I get a recursive list of files from a certain directory and later loop over all files in this list?
In "pseudo-code", what I want is something like this:
(in red, the stuff I don´t know how to do)

ListFileNamesInDir $Directory $fileNames
startLoop:
${LineFind} "$file" "$file" "1:-1" "DoSomething"

next $file from $fileNames

StrCmp $file "" startLoopDone startLoop
startLoopDone:


All times are GMT. The time now is 04:20.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.