Skip to content
⌘ NSIS Forum Archive

Search function

3 posts

SupSuper#

Search function

i'm using this function to search for a file. however, i want it to return only the directory the file is in, not the whole address.
for example, if i'm searching for SomeFile.exe and the function finds it in C:\SomeDir, i want it to return "C:\SomeDir", not "C:\SomeDir\SomeFile.exe"
how do i edit it so it works like that?