dirコマンドでシムリンクを確認

前提

 1 元のディレクトリ
 A 1のシムリンク
 B 1のジャンクション

dirコマンド

PS tmp> dir

Directory: C:\tmp

Mode        LastWriteTime     Length Name
----        -------------     ------ ----
d---- 2021/05/27     6:35            1
l---- 2021/05/27     6:36            A -> C:\tmp\1
l---- 2021/05/27     6:36            B -> C:\tmp\1

select Name, Attributes, LinkType

PS tmp> dir | select Name, Attributes, LinkType

Name              Attributes LinkType
----              ---------- --------
1                  Directory
A    Directory, ReparsePoint SymbolicLink
B    Directory, ReparsePoint Junction

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2021-05-27 (木) 06:46:49