| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1344 人关注过本帖
标题:vb6.0网上最小精简版绿化bat文件
只看楼主 加入收藏
aosweier
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2013-5-3
结帖率:100%
收藏
已结贴  问题点数:10 回复次数:4 
vb6.0网上最小精简版绿化bat文件
@echo off
:: 吉林四平奥杰多媒体软件技术工作室
::【北极长老】2012_09_25制作
:: 适用系统: windowsxp
color 2f
md "C:\Program Files\VB精简版"
copy C2.exe "C:\Program Files\VB精简版"
copy dao350.dll "C:\Program Files\VB精简版"
copy Link.exe "C:\Program Files\VB精简版"
copy Mrt7chs.dll "C:\Program Files\VB精简版"
copy Mso97rt.dll "C:\Program Files\VB精简版"
copy Mspdb60.dll "C:\Program Files\VB精简版"
copy Msvcrt.dll "C:\Program Files\VB精简版"
copy Vb6.exe "C:\Program Files\VB精简版"
copy Vb6.olb "C:\Program Files\VB精简版"
copy Vb6chs.dll "C:\Program Files\VB精简版"
copy Vb6debug.dll "C:\Program Files\VB精简版"
copy Vb6ext.olb "C:\Program Files\VB精简版"
copy Vb6ide.dll "C:\Program Files\VB精简版"
copy Vba6.dll "C:\Program Files\VB精简版"
copy Vbaexe6.lib "C:\Program Files\VB精简版"
copy VB6IDEMouseWheelAddin.dll "C:\Program Files\VB精简版"
md "C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版"
echo [InternetShortcut] >vb.url
echo URL=C:\Program Files\VB精简版\VB6.exe>>vb.url
echo IconIndex=0 >>vb.url
echo IconFile=C:\Program Files\VB精简版\VB6.exe>>vb.url
copy vb.url "C:\Documents and Settings\Administrator\桌面\Visual Basic 6.0精简版.url"
copy vb.url "C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\Visual Basic 6.0精简版.url"
del vb.url
reg add "HKLM\SOFTWARE\Classes\Licenses\74872841-703A-11d1-A3AF-00A0C90F26FA" /f /ve /t REG_SZ /d "klglsejeilmereglrfkleeheqkpkelgejgqf"
reg add "HKLM\SOFTWARE\Microsoft\Cryptography\RNG" /f /v "Seed" /t REG_BINARY /d 87975b60a05ab809de119086202925de1bfa3aad845721b577d24ebecfe71bea9933d9d8ed643961296657e6de3c0843c7a8ecf0263dfc75b46af69a2fc109fecc5bc874f21361e6fcb2ade5e2b81c66
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Visual Basic 6.0精简版_is1" /f /v "Inno Setup: Setup Version" /t REG_SZ /d "3.0.6"
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Visual Basic 6.0精简版_is1" /f /v "Inno Setup: App Path" /t REG_SZ /d "C:\Program Files\VB精简版"
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Visual Basic 6.0精简版_is1" /f /v "Inno Setup: Icon Group" /t REG_SZ /d "Visual Basic 6.0精简版"
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Visual Basic 6.0精简版_is1" /f /v "Inno Setup: User" /t REG_SZ /d "Administrator"
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Visual Basic 6.0精简版_is1" /f /v "Inno Setup: Selected Tasks" /t REG_SZ /d "desktopicon"
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Visual Basic 6.0精简版_is1" /f /v "Inno Setup: Deselected Tasks" /t REG_SZ /d ""
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Visual Basic 6.0精简版_is1" /f /v "DisplayName" /t REG_SZ /d "1.0"
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Visual Basic 6.0精简版_is1" /f /v "UninstallString" /t REG_SZ /d "\"C:\Program Files\VB精简版\unins000.exe\""
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Visual Basic 6.0精简版_is1" /f /v "Publisher" /t REG_SZ /d "tgwang"
reg add "HKCR\.vbp" /f /ve /t REG_SZ /d "VisualBasic.Project"
reg add "HKCR\VisualBasic.Project" /f /ve /t REG_SZ /d "Visual Basic Project"
reg add "HKCR\VisualBasic.Project\DefaultIcon" /f /ve /t REG_SZ /d "C:\Program Files\VB精简版\vb6.exe,16"
reg add "HKCR\VisualBasic.Project\shell" /f /ve /t REG_SZ /d ""
reg add "HKCR\VisualBasic.Project\shell\Make" /f /ve /t REG_SZ /d "Make"
reg add "HKCR\VisualBasic.Project\shell\Make\command" /f /ve /t REG_SZ /d "C:\Program Files\VB精简版\vb6.exe \"%%1\" /make"
reg add "HKCR\VisualBasic.Project\shell\open" /f /ve /t REG_SZ /d ""
reg add "HKCR\VisualBasic.Project\shell\open\command" /f /ve /t REG_SZ /d "\"C:\Program Files\VB精简版\vb6.exe\" \"%%1\""
reg add "HKCR\VisualBasic.Project\shell\Run Project" /f /ve /t REG_SZ /d "Run"
reg add "HKCR\VisualBasic.Project\shell\Run Project\command" /f /ve /t REG_SZ /d "C:\Program Files\VB精简版\vb6.exe \"%%1\" /run"
echo @echo off>"C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\卸载 Visual Basic 6.0精简版.bat"
echo reg delete "HKCR\.Vbp" /f>>"C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\卸载 Visual Basic 6.0精简版.bat"
echo reg delete "HKCR\VisualBasic.Project" /f>>"C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\卸载 Visual Basic 6.0精简版.bat"
echo del "C:\Documents and Settings\Administrator\桌面\Visual Basic 6.0精简版.url">>"C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\卸载 Visual Basic 6.0精简版.bat"
echo del "C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\Visual Basic 6.0精简版.url">>"C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\卸载 Visual Basic 6.0精简版.bat"
echo md "C:\WINDOWS\Visual Basic">>"C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\卸载 Visual Basic 6.0精简版.bat"
echo echo @echo off^>"C:\WINDOWS\Visual Basic\vb.bat">>"C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\卸载 Visual Basic 6.0精简版.bat"
echo echo rd "C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版"^>^>"C:\WINDOWS\Visual Basic\vb.bat">>"C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\卸载 Visual Basic 6.0精简版.bat"
::echo echo reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\ /v vb /f^>^>"C:\WINDOWS\Visual Basic\vb.bat">>"C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\卸载 Visual Basic 6.0精简版.bat"
echo echo reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /v vb /f^>^>"C:\WINDOWS\Visual Basic\vb.bat">>"C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\卸载 Visual Basic 6.0精简版.bat"
echo echo del %%%%0^>^>"C:\WINDOWS\Visual Basic\vb.bat">>"C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\卸载 Visual Basic 6.0精简版.bat"
echo reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /f /v "vb" /t REG_SZ /d "C:\WINDOWS\Visual Basic\vb.bat">>"C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\卸载 Visual Basic 6.0精简版.bat"
echo del /a /s /f /q "C:\Program Files\VB精简版\">>"C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\卸载 Visual Basic 6.0精简版.bat"
echo for /f "tokens=*" %%%%a in ('dir /b /ad /s "C:\Program Files\VB精简版"^^^|sort /r') do rd "%%%%a" 2>nul>>"C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\卸载 Visual Basic 6.0精简版.bat"
echo rd "C:\Program Files\VB精简版">>"C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\卸载 Visual Basic 6.0精简版.bat"
echo del %%0 >>"C:\Documents and Settings\Administrator\「开始」菜单\程序\Visual Basic 6.0精简版\卸载 Visual Basic 6.0精简版.bat"
msg %username% /time:5 "vb6.0精简版安装完毕!等待刷新文件图标......"

regsvr32 /s "C:\Program Files\VB精简版\VB6IDEMouseWheelAddin.dll"
reg add "HKCU\Software\Microsoft\Visual Basic\6.0\Addins\VB6IDEMouseWheelAddin.Connect" /f /v "FriendlyName" /t REG_SZ /d "MouseWheel Fix"
reg add "HKCU\Software\Microsoft\Visual Basic\6.0\Addins\VB6IDEMouseWheelAddin.Connect" /f /v "LoadBehavior" /t REG_DWORD /d 3
reg add "HKCU\Software\Microsoft\Visual Basic\6.0\Addins\VB6IDEMouseWheelAddin.Connect" /f /v "CommandLineSafe" /t REG_DWORD /d 0

@echo off
echo [Version]>cc.inf
echo. >>cc.inf
echo Signature="$CHICAGO$">>cc.inf
echo. >>cc.inf
echo [Defaultinstall]>>cc.inf
echo. >>cc.inf
echo addREG=Gc>>cc.inf
echo. >>cc.inf
echo [Gc]>>cc.inf
echo. >>cc.inf
echo HKCU,Software\Policies\Microsoft\Windows\System,DisableCMD,0x00010001,0 >>cc.inf
rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 .\cc.inf
del cc.inf
exit
搜索更多相关主题的帖子: 多媒体软件 四平 北极 精简版 工作室 
2013-05-11 10:29
益西翁登
Rank: 4
等 级:业余侠客
威 望:1
帖 子:126
专家分:272
注 册:2010-2-22
收藏
得分:5 
这样麻烦还不如安装呢
2013-05-11 17:53
aosweier
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2013-5-3
收藏
得分:0 
轻巧灵便、绿色开源、方便修改、使用放心!

就不信你不用代码能安装!

[ 本帖最后由 aosweier 于 2013-5-12 15:34 编辑 ]
2013-05-12 15:32
bczgvip
Rank: 14Rank: 14Rank: 14Rank: 14
等 级:贵宾
威 望:66
帖 子:1310
专家分:5312
注 册:2009-2-26
收藏
得分:5 
路径用变量不好过么?
2013-05-12 21:59
aosweier
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2013-5-3
收藏
得分:0 
楼上建议极好,使用系统变量即减少了代码数量也可以更适应系统环境,写着玩的,手懒了,大家自由发挥吧!
2013-05-12 22:19
快速回复:vb6.0网上最小精简版绿化bat文件
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.036544 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved