VBS通过注册表增加新功能

2024-04-30 06:58
文章标签 功能 注册表 增加 vbs

本文主要是介绍VBS通过注册表增加新功能,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

REGEDIT4
;Group - AutoPlay
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/AutoPlay]
"Text"="自动播放控制"
"Type"="group"
"Bitmap"="C://windows//system//shell32.dll,12"
"HelpID"="iexplore.hlp#50041"
;Set Autorun
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/AutoPlay/Unknown]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="未知驱动器"
"Type"="checkbox"
"CheckedValue"=dword:00000000
"UncheckedValue"=dword:00000001
"ValueName"="NoDriveTypeAutoRun"
"DefaultValue"=dword:00000000
"HKeyRoot"=dword:80000001
"Mask"=dword:00000001
;"HelpID"="iexplore.hlp#50184"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/AutoPlay/RootDir]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="根目录"
"Type"="checkbox"
"CheckedValue"=dword:00000000
"UncheckedValue"=dword:00000002
"ValueName"="NoDriveTypeAutoRun"
"DefaultValue"=dword:0000002
"HKeyRoot"=dword:80000001
"Mask"=dword:00000002
;"HelpID"="iexplore.hlp#50184"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Autoplay/Floppy]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="软盘驱动器"
"Type"="checkbox"
"CheckedValue"=dword:00000000
"UncheckedValue"=dword:00000004
"ValueName"="NoDriveTypeAutoRun"
"DefaultValue"=dword:00000000
"HKeyRoot"=dword:80000001
"Mask"=dword:00000004
;"HelpID"="iexplore.hlp#50184"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/AutoPlay/HardDrive]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="硬盘驱动器"
"Type"="checkbox"
"CheckedValue"=dword:00000000
"UncheckedValue"=dword:00000008
"ValueName"="NoDriveTypeAutoRun"
"DefaultValue"=dword:00000008
"HKeyRoot"=dword:80000001
"Mask"=dword:00000008
;"HelpID"="iexplore.hlp#50184"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/AutoPlay/RemoteDrive]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="网络驱动器"
"Type"="checkbox"
"CheckedValue"=dword:00000000
"UncheckedValue"=dword:00000010
"ValueName"="NoDriveTypeAutoRun"
"DefaultValue"=dword:00000000
"HKeyRoot"=dword:80000001
"Mask"=dword:00000010
;"HelpID"="iexplore.hlp#50184"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/AutoPlay/CDRom]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="CD-ROM驱动器"
"Type"="checkbox"
"CheckedValue"=dword:00000000
"UncheckedValue"=dword:00000020
"ValueName"="NoDriveTypeAutoRun"
"DefaultValue"=dword:00000020
"HKeyRoot"=dword:80000001
"Mask"=dword:00000020
;"HelpID"="iexplore.hlp#50184"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/AutoPlay/RAMDrive]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="内存虚拟盘"
"Type"="checkbox"
"CheckedValue"=dword:00000000
"UncheckedValue"=dword:00000040
"ValueName"="NoDriveTypeAutoRun"
"DefaultValue"=dword:00000040
"HKeyRoot"=dword:80000001
"Mask"=dword:00000040
;"HelpID"="iexplore.hlp#50184"
;Group - Desktop
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Desktop]
"Text"="桌面"
"Type"="group"
"Bitmap"="C://Windows//System//Shell32.dll,35"
"HelpID"="iexplore.hlp#50041"
;Sets Windows version displayed on desktop.
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Desktop/VersionOnDesktop]
"RegPath"="Control Panel//desktop"
"Text"="在WINDOWS桌面显示版本号"
"Type"="checkbox"
"CheckedValue"="1"
"UncheckedValue"="0"
"DefaultValue"="1"
"ValueName"="PaintDesktopVersion"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
;Sets Hide Desktop
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Desktop/HideDesktop]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="隐藏桌面上的图标"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="NoDesktop"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
;Prevent shell toolbars from being closed
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Desktop/KeepToolbars]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//ActiveDesktop"
"Text"="防止关闭工具栏"
"Type"="checkbox"
"CheckedValue"=dword:1
"UncheckedValue"=dword:0
"DefaultValue"=dword:0
"ValueName"="NoCloseDragDropBands"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
;Prevent shell toolbars from being moved
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Desktop/LockToolbars]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//ActiveDesktop"
"Text"="防止移动工具栏"
"Type"="checkbox"
"CheckedValue"=dword:1
"UncheckedValue"=dword:0
"DefaultValue"=dword:0
"ValueName"="NoMovingBands"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
;Active Desktop
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Desktop/AddComp]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//ActiveDesktop"
"Text"="不允许向活动桌面添加内容"
"Type"="checkbox"
"CheckedValue"=dword:1
"UncheckedValue"=dword:0
"DefaultValue"=dword:0
"ValueName"="NoAddingComponents"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Desktop/DelComp]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//ActiveDesktop"
"Text"="不允许删除活动桌面的内容"
"Type"="checkbox"
"CheckedValue"=dword:1
"UncheckedValue"=dword:0
"DefaultValue"=dword:0
"ValueName"="NoDeletingComponents"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Desktop/EditComp]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//ActiveDesktop"
"Text"="不允许编辑活动桌面的内容"
"Type"="checkbox"
"CheckedValue"=dword:1
"UncheckedValue"=dword:0
"DefaultValue"=dword:0
"ValueName"="NoEditingComponents"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Desktop/CloseComp]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//ActiveDesktop"
"Text"="不允许关闭活动桌面的内容"
"Type"="checkbox"
"CheckedValue"=dword:1
"UncheckedValue"=dword:0
"DefaultValue"=dword:0
"ValueName"="NoClosingComponents"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Desktop/HTMLWallpaper]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//ActiveDesktop"
"Text"="禁用HTML文件作为墙纸"
"Type"="checkbox"
"CheckedValue"=dword:1
"UncheckedValue"=dword:0
"DefaultValue"=dword:0
"ValueName"="NoHTMLWallPaper"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Desktop/ChangeWallpaper]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//ActiveDesktop"
"Text"="不允许更改墙纸"
"Type"="checkbox"
"CheckedValue"=dword:1
"UncheckedValue"=dword:0
"DefaultValue"=dword:0
"ValueName"="NoChangingWallPaper"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Desktop/INETIcon]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="去掉桌面的INTERNET图标"
"Type"="checkbox"
"CheckedValue"=dword:1
"UncheckedValue"=dword:0
"DefaultValue"=dword:0
"ValueName"="NoInternetIcon"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Desktop/StartInMyDocs]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Explorer//Documents"
"Text"="禁止从我的文档目录开始(大部分程序忽略此设置)"
"Type"="checkbox"
"CheckedValue"=dword:1
"UncheckedValue"=dword:0
"DefaultValue"=dword:0
"ValueName"="DisableStartInMyDocs"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
;Group Explorers Options.
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Explorer]
"Text"="Explorer选项"
"Type"="group"
"Bitmap"="C://Windows//System//Shell32.dll,46"
"HelpID"="iexplore.hlp#50041"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Explorer/LinkTracking]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="禁用跟踪链接文件(忽略UNC)"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="LinkResolveIgnoreLinkInfo"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Explorer/ShellSecurity]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="只允许运行指定扩展名的文件"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="EnforceShellExtensionSecurity"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Explorer/SaveSettings]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="不保存Explorer的设置"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="NoSaveSettings"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Explorer/BrowseNewProcess]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Explorer"
"Text"="在不同的进程中启动Explorer和桌面(有助于减少死机)"
"Type"="checkbox"
"CheckedValue"=dword:1
"UncheckedValue"=dword:0
"ValueName"="DesktopProcess"
"DefaultValue"=dword:0
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50048"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Explorer/BrowseNewProcessIE]
"RegPath"="SOFTWARE//Microsoft//Windows//CurrentVersion//Explorer//BrowseNewProcess"
"Text"="在不同的进程中启动IE和桌面(有助于减少死机)"
"Type"="checkbox"
"CheckedValue"="yes"
"UncheckedValue"="no"
"ValueName"="BrowseNewProcess"
"DefaultValue"="yes"
"HKeyRoot"=dword:80000001
"HelpID"="iexplore.hlp#50178"
"PlugUIText"="@inetcplc.dll,-4733"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Explorer/UnloadDLL]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Explorer"
"Text"="桌面扩展没有使用的话立刻卸载"
"Type"="checkbox"
"CheckedValue"="1"
"UncheckedValue"="0"
"ValueName"="AlwaysUnloadDLL"
"DefaultValue"="0"
"HKeyRoot"=dword:80000002
;"HelpID"="iexplore.hlp#50048"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Explorer/DblClick]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Explorer//Advanced"
"Text"="延长双击时间(防止误操作)"
"Type"="checkbox"
"CheckedValue"="1"
"UncheckedValue"="0"
"ValueName"="UseDoubleClickTimer"
"DefaultValue"="1"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50048"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Explorer/AUTOCOMPLETE]
"RegPath"="SOFTWARE//Microsoft//Windows//CurrentVersion//Explorer//AutoComplete"
"Text"="在EXPLORER中使用自动完成功能"
"PlugUIText"="@inetcplc.dll,-4842"
"Type"="checkbox"
"CheckedValue"="yes"
"UncheckedValue"="no"
"ValueName"="Use AutoComplete"
"DefaultValue"="yes"
"HKeyRoot"=dword:80000001
"HelpID"="iexplore.hlp#50539"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Explorer/AUTORefresh]
"RegPath"="System//CurrentControlSet//Control//Update"
"Text"="加速WINDOWS刷新率"
"Type"="checkbox"
"CheckedValue"=hex:00,00,00,00
"UncheckedValue"=hex:01,00,00,00
"ValueName"="UpdateMode"
"DefaultValue"=hex:01,00,00,00
"HKeyRoot"=dword:80000002
;"HelpID"="iexplore.hlp#50539"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Explorer/Shortcut]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Explorer"
"Text"="不在快捷方式前加上快捷方式字样"
"Type"="checkbox"
"CheckedValue"=hex:00, 00, 00, 00
"UncheckedValue"=hex:16, 00, 00, 00
"ValueName"="Link"
"DefaultValue"=hex:00, 00, 00, 00
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50539"
;Group - Icons
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Icons]
"Text"="图标"
"Type"="group"
"Bitmap"=",207"
"HelpID"="iexplore.hlp#50041"
;Set icons title wrap
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Icons/TitleWrap]
"RegPath"="Control Panel//desktop//WindowMetrics"
"Text"="图标文字自动换行"
"Type"="checkbox"
"CheckedValue"="1"
"UncheckedValue"="0"
"DefaultValue"="1"
"ValueName"="IconTitleWrap"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
;Group - Sound
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Sound]
"Text"="声音"
"Type"="group"
"Bitmap"="C://WINDOWS//SYSTEM//SYSTRAY.DLL,1"
"HelpID"="iexplore.hlp#50041"
;Set beep on error
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Sound/Beep]
"RegPath"="Control Panel//Sound"
"Text"="出错时发出BEEP声"
"Type"="checkbox"
"CheckedValue"="Yes"
"UncheckedValue"="No"
"ValueName"="Beep"
"DefaultValue"="no"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50048"
;Group Toolbar
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/TB]
"Text"="工具栏"
"Type"="group"
"Bitmap"=",207"
"HelpID"="iexplore.hlp#50041"
;Set small icons for the toolbar
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/TB/SMALL_ICONS]
"RegPath"="SOFTWARE//Microsoft//Windows//CurrentVersion//Explorer//SmallIcons"
"Text"="使用小图标"
"Type"="checkbox"
"CheckedValue"="yes"
"UncheckedValue"="no"
"ValueName"="SmallIcons"
"DefaultValue"="no"
"HKeyRoot"=dword:80000001
"HelpID"="iexplore.hlp#50048"
;Group - Visual Settings
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Visual]
"Text"="视觉效果"
"Type"="group"
"Bitmap"="C://WINDOWS//SYSTEM//SHDOC401.DLL,6"
"HelpID"="iexplore.hlp#50041"
;Set smooth scrolling option in Folder Options - View - Advanced
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Visual/SmoothScroll]
"RegPath"="Control Panel//desktop"
"Text"="平滑滚动"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000001
"ValueName"="SmoothScroll"
"HKeyRoot"=dword:80000001
"HelpID"="iexplore.hlp#50107"
;Set minimise animation
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Visual/MinAnimate]
"RegPath"="Control Panel//desktop//WindowMetrics"
"Text"="动画显示窗口最大化和最小化"
"Type"="checkbox"
"CheckedValue"="1"
"UncheckedValue"="0"
"DefaultValue"="1"
"ValueName"="MinAnimate"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/explorer/Advanced/Visual/DragFullWin]
"Type"="checkbox"
"Text"="拖动窗口时显示内容"
"HKeyRoot"=dword:80000001
"RegPath"="Control Panel//Desktop"
"ValueName"="DragFullWindows"
"CheckedValue"="1"
"UncheckedValue"="0"
"DefaultValue"="1"
"SPIAction"=dword:00000025
"HelpID"="update.hlp#51074"
[HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/explorer/Advanced/Visual/FontSmooth]
"Type"="checkbox"
"Text"="平滑屏幕字体边缘"
"HKeyRoot"=dword:80000001
"RegPath"="Control Panel//Desktop"
"ValueName"="FontSmoothing"
"CheckedValueNT"="2"
"CheckedValueW95"="1"
"UncheckedValue"="0"
"DefaultValue"="0"
"SPIAction"=dword:0000004b
"SPIParamON"=dword:00000002
"HelpID"="update.hlp#51073"
[HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/explorer/Advanced/Visual/HideIcons]
"Type"="checkbox"
"Text"="按WEB页查看时隐藏桌面图标"
"HKeyRoot"=dword:80000001
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Explorer//Advanced"
"ValueName"="HideIcons"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"="0"
"HelpID"="update.hlp#51106"
[HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/explorer/Advanced/Visual/ExtraToolTips]
"RegPath"="Control Panel//desktop"
"Text"="更多的工具提示"
"Type"="checkbox"
"CheckedValue"=dword:00000080
"UncheckedValue"=dword:00000000
"ValueName"="UserPreferenceMask"
"DefaultValue"=dword:00000080
"HKeyRoot"=dword:80000001
"Mask"=dword:00000080
;"HelpID"="iexplore.hlp#50184"
[HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/explorer/Advanced/Visual/Combobox]
"RegPath"="Control Panel//desktop"
"Text"="组合框动画效果"
"Type"="checkbox"
"CheckedValue"=dword:00000008
"UncheckedValue"=dword:00000000
"ValueName"="UserPreferenceMask"
"DefaultValue"=dword:00000008
"HKeyRoot"=dword:80000001
"Mask"=dword:00000008
;"HelpID"="iexplore.hlp#50184"
[HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/explorer/Advanced/Visual/Listbox]
"RegPath"="Control Panel//desktop"
"Text"="列表框动画效果"
"Type"="checkbox"
"CheckedValue"=dword:00000010
"UncheckedValue"=dword:00000000
"ValueName"="UserPreferenceMask"
"DefaultValue"=dword:00000010
"HKeyRoot"=dword:80000001
"Mask"=dword:00000010
;"HelpID"="iexplore.hlp#50184"

;==========================================================================
;==========================================================================
;Group - Mouse
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Mouse]
"Text"="鼠标"
"Type"="group"
"Bitmap"="C://windows//system//main.cpl,0"
"HelpID"="iexplore.hlp#50041"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Mouse/Wheel]
"Text"="用鼠标轮滚动"
"Type"="group"
"Bitmap"="C://windows//system//main.cpl,0"
"HelpID"="iexplore.hlp#50041"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Mouse/Wheel/0]
"RegPath"="Control Panel//desktop"
"Text"="关闭"
"Type"="radio"
"CheckedValue"="0"
"ValueName"="WheelScrollLines"
"DefaultValue"="3"
"HKeyRoot"=dword:80000001
;"HelpID"="update.hlp#51104"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Mouse/Wheel/1]
"RegPath"="Control Panel//desktop"
"Text"="滚动1行"
"Type"="radio"
"CheckedValue"="1"
"ValueName"="WheelScrollLines"
"DefaultValue"="3"
"HKeyRoot"=dword:80000001
;"HelpID"="update.hlp#51104"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Mouse/Wheel/2]
"RegPath"="Control Panel//desktop"
"Text"="滚动3行(默认)"
"Type"="radio"
"CheckedValue"="3"
"ValueName"="WheelScrollLines"
"DefaultValue"="3"
"HKeyRoot"=dword:80000001
;"HelpID"="update.hlp#51104"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Mouse/Wheel/3]
"RegPath"="Control Panel//desktop"
"Text"="滚动5行"
"Type"="radio"
"CheckedValue"="5"
"ValueName"="WheelScrollLines"
"DefaultValue"="3"
"HKeyRoot"=dword:80000001
;"HelpID"="update.hlp#51104"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Mouse/Wheel/4]
"RegPath"="Control Panel//desktop"
"Text"="滚动9行"
"Type"="radio"
"CheckedValue"="9"
"ValueName"="WheelScrollLines"
"DefaultValue"="3"
"HKeyRoot"=dword:80000001
;"HelpID"="update.hlp#51104"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Mouse/Wheel/5]
"RegPath"="Control Panel//desktop"
"Text"="滚动1页"
"Type"="radio"
"CheckedValue"="-1"
"ValueName"="WheelScrollLines"
"DefaultValue"="3"
"HKeyRoot"=dword:80000001
;"HelpID"="update.hlp#51104"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Mouse/Wheel/6]
"RegPath"="Control Panel//desktop"
"Text"="滚动2页"
"Type"="radio"
"CheckedValue"="-2"
"ValueName"="WheelScrollLines"
"DefaultValue"="3"
"HKeyRoot"=dword:80000001
;"HelpID"="update.hlp#51104"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Mouse/xmouse]
"Text"="X-Mouse"
"Type"="group"
"Bitmap"="C://windows//system//main.cpl,0"
"HelpID"="iexplore.hlp#50041"
;Turn on X-Mouse
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Mouse/xmouse/xmouse]
"RegPath"="Control Panel//desktop"
"Text"="打开X-Mouse功能"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"ValueName"="UserPreferenceMask"
"DefaultValue"=dword:00000000
"HKeyRoot"=dword:80000001
"Mask"=dword:00000001
;"HelpID"="iexplore.hlp#50184"
;If on bring active window to the top
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Mouse/xmouse/xmouseoption]
"Text"="X-Mouse选项"
"Type"="group"
"Bitmap"="C://windows//system//main.cpl,0"
"HelpID"="iexplore.hlp#50041"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/Mouse/xmouse/xmouseoption/AutoRaise]
"RegPath"="Control Panel//desktop"
"Text"="把经过的窗口设置为活动窗口(xmouse)"
"Type"="checkbox"
"CheckedValue"=dword:00000040
"UncheckedValue"=dword:00000000
"ValueName"="UserPreferenceMask"
"DefaultValue"=dword:00000000
"HKeyRoot"=dword:80000001
"Mask"=dword:00000040
;"HelpID"="iexplore.hlp#50184"
;==========================================================================
;==========================================================================
;Group - StartMenu
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu]
;Group - StartMenu
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu]
"Text"="开始菜单"
"Type"="group"
"Bitmap"="C://windows//system//shell32.dll,40"
"HelpID"="iexplore.hlp#50041"
;Set menu animation
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/Animation]
"RegPath"="Control Panel//desktop"
"Text"="菜单动画效果"
"Type"="checkbox"
"CheckedValue"=dword:00000002
"UncheckedValue"=dword:00000000
"ValueName"="UserPreferenceMask"
"DefaultValue"=dword:00000002
"HKeyRoot"=dword:80000001
"Mask"=dword:00000002
;"HelpID"="iexplore.hlp#50184"
;Set menu Underlines
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/Underline]
"RegPath"="Control Panel//desktop"
"Text"="菜单下划线"
"Type"="checkbox"
"CheckedValue"=dword:00000020
"UncheckedValue"=dword:00000000
"ValueName"="UserPreferenceMask"
"DefaultValue"=dword:00000020
"HKeyRoot"=dword:80000001
"Mask"=dword:00000020
;"HelpID"="iexplore.hlp#50184"
;Lock Start Menu
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/LockStartMenu]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="禁止修改开始菜单的内容"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="NoChangeStartMenu"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
;Cascade Start Menu
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/Cascade]
"Type"="checkbox"
"Text"="重叠开始菜单(Win95风格,需要IE5以上)"
"HKeyRoot"=dword:80000001
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Explorer//Advanced"
"ValueName"="StartMenuScrollPrograms"
"CheckedValue"="false"
"UncheckedValue"="true"
"DefaultValue"="true"
"HelpID"="iexplore.hlp#50107"
;Set animated "Click here to begin"
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/StartBanner]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="禁用“从这里开始”的提示(Win95)"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="NoStartBanner"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
;Set Menus drop Left
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/MenuDrop]
"RegPath"="Control Panel//Desktop"
"Text"="菜单右对齐"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000001
"ValueName"="MenuDropAlignment"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
;Group - StartMenu - Speed
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/Speed]
"Text"="菜单速度"
"Type"="group"
"Bitmap"="C://windows//system//shell32.dll,40"
"HelpID"="iexplore.hlp#50041"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/Speed/Max]
"RegPath"="Control Panel//desktop"
"Text"="最快"
"Type"="radio"
"CheckedValue"="0"
"ValueName"="MenuShowDelay"
"DefaultValue"="400"
"HKeyRoot"=dword:80000001
;"HelpID"="update.hlp#51104"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/Speed/Quick]
"RegPath"="Control Panel//desktop"
"Text"="快"
"Type"="radio"
"CheckedValue"="150"
"ValueName"="MenuShowDelay"
"DefaultValue"="400"
"HKeyRoot"=dword:80000001
;"HelpID"="update.hlp#51104"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/Speed/Standard]
"RegPath"="Control Panel//desktop"
"Text"="默认"
"Type"="radio"
"CheckedValue"="400"
"ValueName"="MenuShowDelay"
"DefaultValue"="400"
"HKeyRoot"=dword:80000001
;"HelpID"="update.hlp#51104"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/Speed/Slow]
"RegPath"="Control Panel//desktop"
"Text"="慢"
"Type"="radio"
"CheckedValue"="600"
"ValueName"="MenuShowDelay"
"DefaultValue"="400"
"HKeyRoot"=dword:80000001
;"HelpID"="update.hlp#51104"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/Speed/Slowest]
"RegPath"="Control Panel//desktop"
"Text"="点击弹出菜单"
"Type"="radio"
"CheckedValue"="600"
"ValueName"="MenuShowDelay"
"DefaultValue"="1000"
"HKeyRoot"=dword:80000001
;"HelpID"="update.hlp#51104"
;Group - StartMenu - Inbuilt Menus
;--------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/InbuiltMenus]
"Text"="子菜单"
"Type"="group"
"Bitmap"="C://windows//system//shell32.dll,20"
"HelpID"="iexplore.hlp#50041"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/InbuiltMenus/Favourite]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="隐藏收藏夹菜单"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="NoFavoritesMenu"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/InbuiltMenus/Documents]
"Text"="文档菜单"
"Type"="group"
"Bitmap"="C://windows//system//shell32.dll,21"
"HelpID"="iexplore.hlp#50041"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/InbuiltMenus/Documents/Documents]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="隐藏文档菜单"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="NoRecentDocsMenu"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/InbuiltMenus/Documents/DontAdd]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="禁用最近文档功能"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="NoRecentDocsHistory"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/InbuiltMenus/Documents/ClearDocs]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="退出时清空文档菜单"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="ClearRecentDocsOnExit"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/InbuiltMenus/Find]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="隐藏查找菜单"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="NoFind"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/InbuiltMenus/Run]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="隐藏运行菜单"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="NoRun"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/InbuiltMenus/Logoff]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="隐藏注销菜单"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="NoLogoff"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/InbuiltMenus/Settings]
"Text"="设置菜单"
"Type"="group"
"Bitmap"="C://windows//system//shell32.dll,22"
"HelpID"="iexplore.hlp#50041"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/InbuiltMenus/Settings/SetFolders]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="移除控制面板和打印机"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="NoSetFolders"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/InbuiltMenus/Settings/SetTaskbar]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="移除开始菜单设置"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="NoSetTaskbar"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/InbuiltMenus/Settings/NoFoldersOptions]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="移除工具栏设置"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="NoFolderOptions"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/InbuiltMenus/Settings/NoActiveDesktop]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="移除活动桌面设置"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="NoSetActiveDesktop"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/InbuiltMenus/Settings/NoWindowsUpdate]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="移除WINDOWS UPDATE"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="NoWindowsUpdate"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/explorer/Advanced/StartMenu/InbuiltMenus/Settings/NoWindowsUpdateDeviceManager]
"RegPath"="Software//Microsoft//Windows//CurrentVersion//Policies//Explorer"
"Text"="从设备管理器中去除WINDOWS UPDATE的选项"
"Type"="checkbox"
"CheckedValue"=dword:00000001
"UncheckedValue"=dword:00000000
"DefaultValue"=dword:00000000
"ValueName"="NoDevMgrUpdate"
"HKeyRoot"=dword:80000001
;"HelpID"="iexplore.hlp#50107"
安装脚本.vbs
‘AddExplorerOptions.vbs
‘Add Options in View - Folder Options - View - Advanced

‘Serenity Macros   http://www.angelfire.com/biz/serenitymacros
‘David Candy  davidc@sia.net.au

‘stLancer汉化简体中文版 stLancer@hotmail.com
‘http://www.megadown.com
On Error Resume Next
strExplain="AddExplorerOptions.vbs在查看-文件夹选项-查看-高级设置里面增加了很多功能。" &vbCRLF & vbCRLF & "下列文件在运行本程序时必须处于同一文件夹," &vbCRLF & vbCRLF & "Options.reg"  &vbCRLF & vbCRLF & "继续安装么?"
strTitle="安装高级查看菜单选项程序-stLancer汉化版"
HaveError=""
Dim Sh
Set Sh = WScript.CreateObject("WScript.Shell")
ReportErrors "Creating Shell"
Sh.RegWrite "HKLM/Software/Microsoft/Windows/CurrentVersion/App Paths/" & Wscript.ScriptName & "/", Chr(34) & Wscript.ScriptFullName & Chr(34)
Sh.RegWrite "HKLM/Software/Microsoft/Windows/CurrentVersion/App Paths/" & Left(Wscript.ScriptName, Len(Wscript.ScriptName)-3) & "exe" & "/", Chr(34) & Wscript.ScriptFullName & Chr(34)
ReportErrors "Updating App Paths"
If MsgBox(strExplain ,vbYesNo + vbQuestion, strTitle) =6 Then
sh.Run "regedit /s " & Chr(34) & "Explorer Options.reg" & Chr(34)
‘ sh.Run Chr(34) & "Explorer Options.reg" & Chr(34)
 If err.number<>0 then HaveError="Yes"
 ReportErrors "安装本程序"
 If HaveError="Yes" Then
  MsgBox "请确认‘Options.reg‘文件放在本程序同一文件夹下!", vbOKOnly + vbCritical, strTitle
 Else
  Msgbox "安装成功!",vbOKOnly + vbInformation, strTitle
 End If
End If
VisitSerenity

Sub ReportErrors(strModuleName)
 If err.number<>0 then Msgbox "发生了未知错误." & vbCRLF & vbCRLF & "错误提示:" & vbCRLF & vbCRLF & "脚本名称" & vbTab & Wscript.ScriptFullName & vbCRLF & "模块:" & vbtab & vbTab & strModuleName & vbCRLF & "错误代码:" & vbTab & err.number & vbCRLF & "说明:" & vbTab & err.description, vbCritical + vbOKOnly, "未知错误"
 Err.clear
End Sub

Sub VisitSerenity
 If MsgBox("本程序由Serenity Macros制作,stLancer汉化" & vbCRLF & vbCRLF & "你是否愿意访问一下我们的网站?", vbQuestion + vbYesNo , "安装完成") =6 Then
  sh.Run "http://www.megadown.com"
 End If
End Sub
使用方法:
1.将第一篇文章中复制进记事本,另存为注册表文件,例如"Explorer Options.reg"
2.同法将第二篇文章中内容另存为脚本文件,例如"安装本程序.vbs"
3.将上述两个文件放在同一目录下,执行"安装本程序.vbs"
打开资源管理器-在工具-文件夹选项-查看-高级设置里面增加了很多功能

这篇关于VBS通过注册表增加新功能的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/948175

相关文章

C++11第三弹:lambda表达式 | 新的类功能 | 模板的可变参数

🌈个人主页: 南桥几晴秋 🌈C++专栏: 南桥谈C++ 🌈C语言专栏: C语言学习系列 🌈Linux学习专栏: 南桥谈Linux 🌈数据结构学习专栏: 数据结构杂谈 🌈数据库学习专栏: 南桥谈MySQL 🌈Qt学习专栏: 南桥谈Qt 🌈菜鸡代码练习: 练习随想记录 🌈git学习: 南桥谈Git 🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈🌈�

让树莓派智能语音助手实现定时提醒功能

最初的时候是想直接在rasa 的chatbot上实现,因为rasa本身是带有remindschedule模块的。不过经过一番折腾后,忽然发现,chatbot上实现的定时,语音助手不一定会有响应。因为,我目前语音助手的代码设置了长时间无应答会结束对话,这样一来,chatbot定时提醒的触发就不会被语音助手获悉。那怎么让语音助手也具有定时提醒功能呢? 我最后选择的方法是用threading.Time

Spring框架5 - 容器的扩展功能 (ApplicationContext)

private static ApplicationContext applicationContext;static {applicationContext = new ClassPathXmlApplicationContext("bean.xml");} BeanFactory的功能扩展类ApplicationContext进行深度的分析。ApplicationConext与 BeanF

EMLOG程序单页友链和标签增加美化

单页友联效果图: 标签页面效果图: 源码介绍 EMLOG单页友情链接和TAG标签,友链单页文件代码main{width: 58%;是设置宽度 自己把设置成与您的网站宽度一样,如果自适应就填写100%,TAG文件不用修改 安装方法:把Links.php和tag.php上传到网站根目录即可,访问 域名/Links.php、域名/tag.php 所有模板适用,代码就不粘贴出来,已经打

JavaFX应用更新检测功能(在线自动更新方案)

JavaFX开发的桌面应用属于C端,一般来说需要版本检测和自动更新功能,这里记录一下一种版本检测和自动更新的方法。 1. 整体方案 JavaFX.应用版本检测、自动更新主要涉及一下步骤: 读取本地应用版本拉取远程版本并比较两个版本如果需要升级,那么拉取更新历史弹出升级控制窗口用户选择升级时,拉取升级包解压,重启应用用户选择忽略时,本地版本标志为忽略版本用户选择取消时,隐藏升级控制窗口 2.

Android 10.0 mtk平板camera2横屏预览旋转90度横屏拍照图片旋转90度功能实现

1.前言 在10.0的系统rom定制化开发中,在进行一些平板等默认横屏的设备开发的过程中,需要在进入camera2的 时候,默认预览图像也是需要横屏显示的,在上一篇已经实现了横屏预览功能,然后发现横屏预览后,拍照保存的图片 依然是竖屏的,所以说同样需要将图片也保存为横屏图标了,所以就需要看下mtk的camera2的相关横屏保存图片功能, 如何实现实现横屏保存图片功能 如图所示: 2.mtk

Spring+MyBatis+jeasyui 功能树列表

java代码@EnablePaging@RequestMapping(value = "/queryFunctionList.html")@ResponseBodypublic Map<String, Object> queryFunctionList() {String parentId = "";List<FunctionDisplay> tables = query(parent

PostgreSQL核心功能特性与使用领域及场景分析

PostgreSQL有什么优点? 开源和免费 PostgreSQL是一个开源的数据库管理系统,可以免费使用和修改。这降低了企业的成本,并为开发者提供了一个活跃的社区和丰富的资源。 高度兼容 PostgreSQL支持多种操作系统(如Linux、Windows、macOS等)和编程语言(如C、C++、Java、Python、Ruby等),并提供了多种接口(如JDBC、ODBC、ADO.NET等

寻迹模块TCRT5000的应用原理和功能实现(基于STM32)

目录 概述 1 认识TCRT5000 1.1 模块介绍 1.2 电气特性 2 系统应用 2.1 系统架构 2.2 STM32Cube创建工程 3 功能实现 3.1 代码实现 3.2 源代码文件 4 功能测试 4.1 检测黑线状态 4.2 未检测黑线状态 概述 本文主要介绍TCRT5000模块的使用原理,包括该模块的硬件实现方式,电路实现原理,还使用STM32类

nginx介绍及常用功能

什么是nginx nginx跟Apache一样,是一个web服务器(网站服务器),通过HTTP协议提供各种网络服务。 Apache:重量级的,不支持高并发的服务器。在Apache上运行数以万计的并发访问,会导致服务器消耗大量内存。操作系统对其进行进程或线程间的切换也消耗了大量的CPU资源,导致HTTP请求的平均响应速度降低。这些都决定了Apache不可能成为高性能WEB服务器  nginx: