設為首頁收藏本站

艾歐踢論壇

 找回密碼
 立即註冊

QQ登錄

只需一步,快速開始

搜索
熱搜: 活動 交友 discuz
查看: 804|回復: 0
打印 上一主題 下一主題

How to link a network drive into a folder on Windows 7

[複製鏈接]
跳轉到指定樓層
樓主
發表於 2017-3-12 01:17:54 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
How to link a network drive into a folder on Windows 7

Have you ever tried to install a software on a network drive or use a network drive as data directory

were the software installer checks for the drive type and refuses the installation on network drives?

A workaround that helped me in these cases is to use a symlink on Windows.

For example, the application wants to put its data in the path C:\ProgramData\appname

but you want the data to be stored on the mapped network drive X:\mydata\appname,

you can use the following command on the windows commandline to symlink the directorie:

mklink /d "C:\ProgramData\appname" "X:\mydata\appname"

The benefit is, that the application installer detects now C: as valid local harddrive and uses the symlinked path to store its data on the network drive X:\mydata\appname.

The general syntax for the mklink command is:

mklink /d symlinkpath targetdirectory



分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 轉播轉播 分享分享 分享淘帖
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

小黑屋|Archiver|手機版|艾歐踢創新工坊    

GMT+8, 2024-5-15 17:30 , Processed in 0.236910 second(s), 30 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表