نرم افزار و برنامه نویسی ویندوز

نرم افزار و برنامه نویسی ویندوز

آموزش برنامه نویسی Visual Basic 2010-2019
نرم افزار و برنامه نویسی ویندوز

نرم افزار و برنامه نویسی ویندوز

آموزش برنامه نویسی Visual Basic 2010-2019

ساخت لینک Junction با PowerShell

ساخت لینک Junction با PowerShell در ویندوز 10

Create Junction Point to Directory in PowerShell

1 Open an elevated PowerShell.

2 Type the command below into the elevated PowerShell, and press Enter. (see screenshot below)


New-Item -ItemType Junction -Path "Link" -Target "Source Target"

Substitute Link in the command above with the full path of a folder (directory) you want created as a hard link at.

Substitute Source Target in the command above with the full path of the existing folder (directory) that is the target (source) you want the hard link pointing to. This is the actual location where everything will be saved at.

For example: New-Item -ItemType Junction -Path "C:\Program Files\Mozilla Firefox" -Target "D:\Mozilla Firefox"

3 When finished, you can close the elevated PowerShell if you like.


https://aparat.com/v/BoHFT


https://aparat.com/v/BoHFT


نظرات 0 + ارسال نظر
برای نمایش آواتار خود در این وبلاگ در سایت Gravatar.com ثبت نام کنید. (راهنما)
ایمیل شما بعد از ثبت نمایش داده نخواهد شد