欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

顯示運行對話框內(nèi)保存的命令歷史的vbs

 更新時間:2008年10月26日 00:52:12   作者:  
這段代碼可以獲取曾經(jīng)在運行對話框中的,我們之前輸入的命令歷史
復(fù)制代碼 代碼如下:

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 Each 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

相關(guān)文章

最新評論