[.NET] How to Check a directory is ‘Directory Junction’
- 2007 3/6
- カテゴリー : .NET
- .NET . ReparsePoint
- 投稿者 : 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
コメントはまだありません。