Hey everyone,
i have a question. I try to do an commandline command in nsis.
This is my Code:
Exec "dir $verzeichnis_karten *$datum /B > $INSTDIR\maps.txt"
I want all Files from a directory in a txt-File, but it doesn't work. Could anyone help me?
Thanks
Commandline
4 posts
you can not use redirection with Exec*, you need to use one of the exec plugins, but that is beside the point. What you should do is to use the built in FindFirst,FindNext,FindClose commands
i have in my directory some files:
aa2008.01.zip
ab2008.01.zip
ac2008.01.zip
and now i have to know which files are in the directory.
how can i use the FindFirst here?
Sorry but i'm new on this programm ...
aa2008.01.zip
ab2008.01.zip
ac2008.01.zip
and now i have to know which files are in the directory.
how can i use the FindFirst here?
Sorry but i'm new on this programm ...
If you want a pre-built solution, you might have a look at the locate function documented in appendix E of the NSIS help file.
Or for other examples, try searching the forum.
Or for other examples, try searching the forum.