用mklink指令連結不同磁碟的資料夾,安裝程式的路徑就不用麻煩的改了
2018/06/28 21:49
瀏覽5,593
迴響0
推薦0
引用0
用mklink指令連結不同磁碟的資料夾,安裝程式的路徑就不用麻煩的改了
Use the mklink command to link folders of different disks.
The path to the installation program will not have to be changed.
mklink指令就像桌面與桌面的資料夾一樣
Just like desktop and desktop folders
刪除檔案兩邊都會消失
Deleting files on either side will disappear.
要連結的地方不能先有相同名子的資料夾
The link to the place must not have the same name folder first.
執行或搜尋cmd.exe按滑鼠右鍵以系統管理員身分執行cmd.exe
Execute or search for cmd.exe
Click the right mouse button to execute cmd.exe as an administrator.
然後要輸入
Then enter
mklink /J "C:\123456" "E:\123456"
複製
Copy
然後按滑鼠右鍵貼上
Then right-click and paste
執行
Enter
所以安裝程式的路徑就不用麻煩的改了
So the path to the installer will not have to be changed.
你可能會有興趣的文章: