Aaron's rod
6th May 2005 15:49 UTC
Help! Script what I got to work, but don't know how
I am trying to make a small utility what creates file listin from directory. I got it apparently to work, but I don't know how. :)
I made this by modifying NSIS Archive examples, so it's no wonder that I don't know how it's working.
The part what I don't get is where it's start to scanning new folder. Where all the sub directory names are saved?
I am sure that there is simpler way to do this so pleas help me! :cry:
Afrow UK
6th May 2005 17:53 UTC
They are saved on the stack with Push. They are then Popped off the stack again to start a new FindFirst.
-Stu
Aaron's rod
7th May 2005 12:35 UTC
Thanks
Oh now I get it. I thought that every time when it savas subdir name it would overwrite previous dir name. *Bangs head against wall*
Afrow UK
7th May 2005 13:48 UTC
This is what I use in my scripts:
http://nsis.sourceforge.net/archive/...ances=0,11,211
-Stu
Aaron's rod
8th May 2005 13:24 UTC
Originally posted by Afrow UK
This is what I use in my scripts:
http://nsis.sourceforge.net/archive/...ances=0,11,211
-Stu
Whoa! This is creat thanks Stu. :up: