|
|
本帖最后由 yfd11 于 2026-4-11 20:12 编辑
老早的了XP那时的吧。重装系统前桌面,我的文档,等转移,注意可以 将::xcopy这行恢复回去就行了呢,懂的都懂,- @echo off
- @cmd /c"set a=abcdefghijklmnopqrstuvwxyz0123456789:制作Qdyf弱智zj&&call msg * %%a:~12,1%%sgbo%%a:~23,1%%("I L%%a:~14,1%%ve %%a:~24,1%%ou.",0,"%%a:~-4,2%%%%a:~-10,2%%Q%%a:~-8,1%%:%%a:~-6,2%%d%%a:~-2,2%%%%a:~-6,1%%@1%%a:~32,1%%3.com")(s%%a:~4,1%%lf.clos%%a:~4,1%%)"
- title 弱智制作QQ:441540230
- @echo off
- REM 如果有文件夹则跳过,否则新建个文件夹
- if not exist "%cd%\我的文档\Cookies" md "%cd%\我的文档\Cookies"
- ::xcopy "C:\Documents and Settings\%USERNAME%\cookies\*.*" "%cd%\我的文档\Cookies" /e /h /c /y
- if not exist "%cd%\桌面" md "%cd%\桌面"
- ::xcopy "C:\Documents and Settings\%USERNAME%\桌面\*.*" "%cd%\桌面" /e /h /c /y
- ::xcopy "C:\Documents and Settings\%USERNAME%\desktop\*.*" "%cd%\桌面" /e /h /c /y
- if not exist "%cd%\收藏夹" md "%cd%\收藏夹"
- ::xcopy "C:\Documents and Settings\%USERNAME%\Favorites\*.*" "%cd%\收藏夹" /e /h /c /y
- if not exist "%cd%\我的文档\My Music" md "%cd%\我的文档\My Music"
- ::xcopy "C:\Documents and Settings\%USERNAME%\My Documents\*.*" "%cd%\我的文档" /e /h /c /y
- if not exist "%cd%\我的文档\My Videos" md "%cd%\我的文档\My Videos"
- if not exist "%cd%\SendTo" md "%cd%\SendTo"
- ::xcopy "C:\Documents and Settings\%USERNAME%\SendTo\*.*" "%cd%\SendTo" /e /h /c /y
- if not exist "%cd%\下载" md "%cd%\下载"
- ::xcopy "C:\Documents and Settings\%USERNAME%\SendTo\*.*" "%cd%\SendTo" /e /h /c /y
- ::pause
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Cookies /t REG_SZ /d %cd%\我的文档\Cookies /f
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Desktop /t REG_SZ /d %cd%\桌面 /f
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Favorites /t REG_SZ /d %cd%\收藏夹 /f
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "My Music" /t REG_SZ /d "%cd%\我的文档\My Music" /f
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "My Pictures" /t REG_SZ /d "%cd%\我的文档\My Pictures" /f
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "My Video" /t REG_SZ /d "%cd%\我的文档\My Videos" /f
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal /t REG_SZ /d %cd%\我的文档 /f
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "SendTo" /t REG_SZ /d "%cd%\SendTo" /f
- ::马上应用
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v Cookies /t REG_SZ /d "%cd%\我的文档\Cookies" /f
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v Desktop /t REG_SZ /d "%cd%\桌面" /f
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v Favorites /t REG_SZ /d "%cd%\收藏夹" /f
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "My Music" /t REG_SZ /d "%cd%\我的文档\My Music" /f
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "My Pictures" /t REG_SZ /d "%cd%\我的文档\My Pictures" /f
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "My Video" /t REG_SZ /d "%cd%\我的文档\My Videos" /f
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v Personal /t REG_SZ /d "%cd%\我的文档" /f
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "SendTo" /t REG_SZ /d "%cd%\SendTo" /f
- reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "{374DE290-123F-4565-9164-39C4925E467B}" /t REG_SZ /d "%cd%\下载" /f
- taskkill /f /im explorer.exe
- start "" "C:\WINDOWS\explorer.exe"
- rem gpupdate /force
- rem RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters
复制代码 |
|