复制代码
- echo Windows Registry Editor Version 5.00 >gai.reg
- echo. >>gai.reg
- echo [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders] >>gai.reg
- echo "Favorites"="d:\\Favorites" >>gai.reg
- regedit /s /t gai.reg
复制代码
- reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Favorites /t REG_SZ /d d:\Favorites /f
- pause
欢迎光临 批处理之家 (http://bathome.net./) | Powered by Discuz! 7.2 |