Archive: Wildcards not working with SetFileAttributes


Wildcards not working with SetFileAttributes
I am doing SetFileAttributes $INSTDIR\*.dll HIDDEN and nothing is happening. The next line is $INSTDIR\dirName HIDDEN and it works on the dir. Do I HAVE to name each dll for this to work?


Yeah, I noticed that too. The only way I was able to get it working was using each individual filename. In the end, though, I just ended up setting the directory hidden instead of all the files since that works.


In the open source fashion, I busted open the code and took a look inside. I don't know C or C++ but I know enough to be able to read it. I also know that the FILE function's wildcards do work. So, open the code, find the FILE implementation and then the SetFileAttributes implementation and compare. I see where FILE has the check for wildcards... SetFileAttributes doesn't have anything in the way of wildcard checks.

Would someone please update either the code or the docs so that they agree with?