I've been Google searching this I may be having some brain clouds because it just isn't working.
I need to detect if a folder is a junction so my recursive file search doesn't run off into an endless loop.
I could use a simple function like
IsJunction(attr: dword): boolean;
where attr is dwFileAttributes
from TWin32FindData;
I just can't seem to get it to work. Thanks!
IsJunction
. Suppose someone had then answered fixing the bug in your search code. Now, which of the two answers would you accept? Because a question can only have one accepted answer, it follows that questions can only ask a single question. At least, that's my take from having answered thousands of questions!! ;-) – Woolcott