|
本帖最后由 wongfaye 于 2020-1-7 10:21 编辑
这是我的方式,以前也是用的链接,发现有很多问题,现在就改用这个方法:
;链接个人文件夹
;FLNK %USERPROFILE%\Documents,%CurDrv%\Lenovo\Documents,2 //改用注册表
FILE --m %USERPROFILE%\Documents;%USERPROFILE%\Downloads;%USERPROFILE%\Pictures;%USERPROFILE%\Music
SET UsFolders=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
REGI %&UsFolders%\Personal=%CurDrv%\Lenovo\Documents
REGI %&UsFolders%\My Pictures=%CurDrv%\Lenovo\Pictures
REGI %&UsFolders%\My Music=%CurDrv%\Lenovo\Music
REGI %&UsFolders%\{374DE290-123F-4565-9164-39C4925E467B}=%CurDrv%\Lenovo\Downloads
;连接WIFI
LOAD %CurDir%\WiFi\WiFiConnect.WCS
_SUB FunWin8
LINK %USERPROFILE%\Links\Documents,%CurDrv%\Lenovo\Documents
_END
_SUB FunWin10
REGI %&UsFolders%\{F42EE2D3-909F-4907-8871-4C22FC0BF756}=%CurDrv%\Lenovo\Documents
REGI %&UsFolders%\{0DDD015D-B06C-45D5-8C4C-F59713854639}=%CurDrv%\Lenovo\Pictures
REGI %&UsFolders%\{A0C69A99-21C8-4671-8703-7934162FCF1D}=%CurDrv%\Lenovo\Music
REGI %&UsFolders%\{7D83EE9B-2244-4E70-B1F5-5393042AF1E4}=%CurDrv%\Lenovo\Downloads
;KILL Explorer.exe
TEAM KILL Explorer.exe|EXEC %SystemRoot%\Explorer.exe
;PINT到开始菜单
EXEC =!StartPin "%CurDrv%\Program Files\Twinkstar\tw_data\twinkstar.exe" "星愿浏览器"
EXEC =!StartPin "%CurDrv%\Program Files\avant\avantvw.exe" "爱帆浏览器"
EXEC =!StartPin "%CurDrv%\Program Files\EverEdit\EverEdit.exe" "EverEdit"
EXEC =!StartPin "%CurDrv%\Program Files\Tencent\QQ\Bin\QQ.exe" "腾讯QQ"
EXEC =!StartPin "%CurDrv%\Program Files\Adobe\Adobe Photoshop CC\Photoshop.exe" "Adobe Photoshop CC"
EXEC =!StartPin "%CurDrv%\Program Files\Alisoft\AliWangWang\AliIM.exe" "阿里旺旺"
EXEC =!StartPin "%CurDir%\TotalCMD64\Totalcmd64.exe" "TotalCMD管理器"
EXEC =!StartPin "%windir%\system32\win32calc.exe" "Windwos计算器"
_END
TEAM EXEC* WinVer = !CMD /C VER|SED WinVer=0,[^0-9], ,%WinVer%|MSTR &WinVer=<1*>%WinVer%
IFEX $%WinVer% < 8,THRD* CALL FunWin8 ! THRD* CALL FunWin10
因为win8和win10的个人文件夹注册表是不一样的,所以不同系统使用不同的方法!
我的PECMD启动是放在Userinit下的,所以能早于explorer早一点点,所以导入了注册表后win8不需要重启explorer。
但是 win10不行,于是win10导入注册表后需要重启一下explorer。
因为部分StartIsBack破解不完整,导致重启explorer的时候会出现蓝色屏幕然后出现一排字,推荐使用StartIsBack2.0.1或者2.6.3。
不足之处请赐教,谢谢!
|
|