Creating hard and soft links using PowerShell

前端 未结 11 1719
攒了一身酷
攒了一身酷 2020-12-04 05:04

Can PowerShell 1.0 create hard and soft links analogous to the Unix variety?

If this isn\'t built in, can someone point me to a site that has a ps1 script that mimi

11条回答
  •  Happy的楠姐
    2020-12-04 05:48

    In Windows 7, the command is

    fsutil hardlink create new-file existing-file
    

    PowerShell finds it without the full path (c:\Windows\system32) or extension (.exe).

提交回复
热议问题