Detecting if a directory is a junction in Delphi

前端 未结 2 1250
难免孤独
难免孤独 2021-02-13 02:08

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:28

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

提交回复
热议问题