Skip to content
⌘ NSIS Forum Archive

how get filename in directory

5 posts

amirtaji#

how get filename in directory

i want execute a file in Specified folder
problem is name of file unknown and different in each system
how can i get file name and run it

example
system1:
c:\test\123gh.msi

system2:
c:\test\746gh.msi
amirtaji#
find it


FindFirst $0 $1 c:\test\*.msi
loop:
StrCmp $1 "" done
DetailPrint $1
FindNext $0 $1
Goto loop
done:


tanks man