Detecting if a directory is a junction in Delphi

前端 未结 2 1119
星月不相逢
星月不相逢 2021-02-13 02:03

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

2条回答
  •  梦如初夏
    2021-02-13 02:33

    You can try also JCL (JEDI Code Library) JclNTFS unit.
    it has a few methods to deal with junctions e.g:
    NtfsIsFolderMountPoint / NtfsGetJunctionPointDestination.

提交回复
热议问题