• 追加された行はこの色です。
  • 削除された行はこの色です。
#author("2021-05-27T06:39:56+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 | ft -a
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
}}

    Directory: C:\tmp
** select Name, Attributes, LinkType [#n59788d6]

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
#shell(){{
PS tmp> dir | select Name, Attributes, LinkType
  
  Name              Attributes LinkType
  ----              ---------- --------
  1                  Directory
  A    Directory, ReparsePoint SymbolicLink
  B    Directory, ReparsePoint Junction
}}



トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS