[.NET] How to Check a directory is ‘Directory Junction’
- 2007 3/6
- 投稿者 : flied_onion
you can use FileAttributes.ReparsePoint like this.
[csharp]
if ((File.GetAttributes(subdir) &
FileAttributes.ReparsePoint) !=
FileAttributes.ReparsePoint)
[/csharp]
if ((File.GetAttributes(subdir) &
FileAttributes.ReparsePoint) !=
FileAttributes.ReparsePoint)
[/csharp]
Attribute constants name on Win32API
FILE_ATTRIBUTE_REPARSE_POINT
supported OS Win2k or later?
i don’t know, how to create reparse directory
最近のコメント