显示运行对话框内保存的命令历史的vbs
导读:收集整理的这篇文章主要介绍了显示运行对话框内保存的命令历史的vbs,觉得挺不错的,现在分享给大家,也给大家做个参考。 复制代码 代码如下:Const HKEY_current_USER...
收集整理的这篇文章主要介绍了显示运行对话框内保存的命令历史的vbs,觉得挺不错的,现在分享给大家,也给大家做个参考。 复制代码 代码如下:Const HKEY_current_USER = & H80000001
strComputer = "."
Set objRegistry = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegPRov")
strKeyPath = "Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU"
objRegistry.EnumValues HKEY_CURRENT_USER, strKeyPath, arrValuenames, arrValueTyPEs
For @R_126_2428@ strValue in arrValueNames
If Len(strValue) = 1 Then
objRegistry.GetStringValue HKEY_CURRENT_USER,strKeyPath,strValue,strRunCommand
intLength = Len(strRunCommand)
strRunCommand = Left(strRunCommand, intLength - 2)
Wscript.Echo strRunCommand
End If
Next
声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!
若转载请注明出处: 显示运行对话框内保存的命令历史的vbs
本文地址: https://pptw.com/jishu/609727.html
