Archive: 2 NSIS questions


2 NSIS questions
1.Can anyone show me an actual example of how to use FindFirst/FindNext/FindClose in a loop? (I have no clue how to do loops in NSIS and cant find anything usefull searching the docs/forum)
2.Can someone show me how to define a user defined function which takes a string parameter (i.e. I want to create a RenameEx function which takes a wildcard and uses FindFirst/FindNext/FindClose to move the individual files)


1. http://forums.winamp.com/showpost.ph...98&postcount=6
2. Read the manual. You can define functions and pass arguments via the stack or define a macro which will be evaluated with its arguments at compile time.

Stu