#author("2021-05-27T06:46:30+09:00","default:ryuichi","ryuichi")
#author("2021-05-27T06:46:49+09:00","default:ryuichi","ryuichi")
* dirコマンドでシムリンクを確認 [#aa10d2e1]

** 前提 [#n7100f2e]

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

** dirコマンド [#y8d33c2a]
#shell(){{
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 [#n59788d6]

#shell(){{
PS tmp> dir | select Name, Attributes, LinkType
  
  Name              Attributes LinkType
  ----              ---------- --------
  1                  Directory
  A    Directory, ReparsePoint SymbolicLink
  B    Directory, ReparsePoint Junction

}}

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