作者: EOS 時間: 2009-10-1 14:02 標題: 建立捷徑問題請教
提示: 作者被禁止或刪除 內容自動屏蔽
作者: davidleehk 時間: 2009-10-1 16:05
you may use xcopy to copy and create folder tree only with /T /E parameters
作者: wanderSick 時間: 2009-10-1 16:28
Yes, create the folder structure with xcopy as per Mr David Lee's instructions. Next, for the file shortcuts, you can create with mklink.exe which is included since Windows Vista and 7 (although not exactly shortcuts but junction points and symbolic links but it works the same here. If you want genuine shortcuts, search for a tool called "shortcut.exe")
[ 本帖最後由 wanderSick 於 2009-10-1 16:38 編輯 ]
作者: wanderSick 時間: 2009-10-1 16:39
Use this command:
- xcopy d:\<folder name> %userprofile%\desktop\<folder name> /t /e
- for /r d:\<folder name> %i in (*) do mklink "%userprofile%\desktop%~pnxi" "%i"
[ 本帖最後由 wanderSick 於 2009-10-1 16:40 編輯 ]
