Is there a function in LiveCode that can return information on whether a folder is a junction point in Windows? It seems that the "long folders" function doesn't give this information.
I can see how one could do this using the Shell command and then reading the results of a dir command in the Windows shell, but it would be handy if LiveCode has a built-in function that can do this.
Thanks in advance for the help!
Windows: finding out whether a folder is a junction point
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Windows: finding out whether a folder is a junction point
I actually went and learned how to even create a junction folder, just to see what you were talking about heh. The short answer is "I don't think so".
The longer answer would be that the shell is there just for this kind of issue, where you have a need for OS specific things, and junction folders will only ever be found on Windows systems, so parsing the dir command through shell gives you everything you need to make the determination.
Good luck.
![Image](https://s7.postimg.cc/v87si6xuj/Forum_Signature.png)
Re: Windows: finding out whether a folder is a junction point
Thank you for that helpful reply! I'll work with the shell, then.
Re: Windows: finding out whether a folder is a junction point
If it offers you any consolation, I use shell a LOT.
![Image](https://s7.postimg.cc/v87si6xuj/Forum_Signature.png)
Re: Windows: finding out whether a folder is a junction point
That's useful to know!