Board logo

标题: [文本处理] 大家帮忙看下这段批处理什么意思? [打印本页]

作者: yinbinly    时间: 2010-12-5 13:17     标题: 大家帮忙看下这段批处理什么意思?

大家帮忙看看什么意思?麻烦注释下
cls
@Echo Off
COLOR 2F
rem WinRAR右键菜单处理
Reg add HKCU\Software\WinRAR\Setup /v CascadedMenu /t REG_DWORD /d 1 /f
Reg add HKCU\Software\WinRAR\Setup\MenuItems /v EmailArc /t REG_DWORD /d 0 /f
Reg add HKCU\Software\WinRAR\Setup\MenuItems /v EmailOpt /t REG_DWORD /d 0 /f

rem ACDsee和酷我右键出来
Reg delete HKCR\Directory\shell\ACDBrowse /f
Reg delete HKCR\Directory\shell\kwopen /f
Reg delete HKCR\Directory\shell\kwplaylist /f

rd /s /q "C:\Users\Administrator\Documents"
rd /s /q "C:\Users\Administrator\Downloads"
rd /s /q "C:\Users\Administrator\Favorites"
rd /s /q "C:\Users\Administrator\Links"
rd /s /q "C:\Users\Administrator\Music"
rd /s /q "C:\Users\Administrator\Pictures"
rd /s /q "C:\Users\Administrator\Saved Games"
rd /s /q "C:\Users\Administrator\Videos"  
rd /s /q "C:\Documents and Settings\Administrator\「开始」菜单\程序\暴风影音精简版"

del /a /f /q "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\迅雷.*"
del /a /f /q "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\酷我音乐盒 2010.*"
del /a /f /q "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\酷我音乐盒 2010.*"
del /a /f /q "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\PPTV 网络电视.*"
del /a /f /q "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\傲游浏览器2.*"
del /a /f /q "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\暴风影音.*"

del /a /f /q "%UserProfile%\桌面\PPTV在线影视.*"
del /a /f /q "%UserProfile%\桌面\千千音乐.*"
del /a /f /q "%UserProfile%\桌面\酷我游戏.*"
del /a /f /q "%UserProfile%\桌面\酷我音乐文件夹.*"
del /a /f /q "%UserProfile%\桌面\一键GHOST.*"
del /a /f /q "C:\Users\Administrator\Desktop\酷我游戏.*"
del /a /f /q "C:\Users\Administrator\Desktop\酷我音乐文件夹.*"
del /a /f /q "C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\迅雷.*"
del /a /f /q "C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\QQ影音.*"
del /a /f /q "%ProgramFiles%\PPLiveVA\PPLiveVA.url"
del /a /f /q "%ProgramFiles%\PPLive\PPLive.url"
del /a /f /q "C:\Documents and Settings\Administrator\「开始」菜单\程序\酷我音乐盒 2010.*"
del /a /f /q "C:\Documents and Settings\Administrator\「开始」菜单\酷我音乐盒 2010.*"
del /a /f /q "C:\Documents and Settings\Administrator\「开始」菜单\程序\千千静听\访问 绿色下载吧.*"
del /a /f /q "C:\Documents and Settings\All Users\桌面\PPTV在线影视.*"
del /a /f /q "C:\WINDOWS\system32\pptv.*"

del /a /f /q "%SystemDrive%\WINDOWS\Tasks\SogouImeMgr.job"
del /a /f /q "C:\Documents and Settings\Administrator\桌面\小哨兵一键恢复.*"

exit
作者: leap    时间: 2010-12-5 16:59

里面的 REM就是说明了
rd删除文件夹
del删除文件




欢迎光临 批处理之家 (http://bbs.bathome.net/) Powered by Discuz! 7.2