建立捷徑問題請教

提示: 作者被禁止或刪除 內容自動屏蔽

you may use xcopy to copy and create folder tree only with /T /E parameters

TOP

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 編輯 ]

TOP

Use this command:
  1. xcopy d:\<folder name> %userprofile%\desktop\<folder name> /t /e
  2. for /r d:\<folder name> %i in (*) do mklink "%userprofile%\desktop%~pnxi" "%i"
複製代碼
Replace <folder name> with yours.

[ 本帖最後由 wanderSick 於 2009-10-1 16:40 編輯 ]

TOP