Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Retrieve Windows Explorer settings for Specify how long the system waits before ending a processContent of Retrieve Windows Explorer settings for Specify how long the system waits before ending a process.vbsMD5 Hash: D5B3B9640F9F4489002D039F31D33130 |
||
On Error Resume Next
HKEY_CURRENT_USER = &H80000001 strComputer = "." Set objReg = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv") strKeyPath = "Control Panel\Desktop" ValueName = "HungAppTimeout" objReg.GetStringValue HKEY_CURRENT_USER, strKeyPath, ValueName, strValue If IsNull(strValue) Then Wscript.Echo "Specify how long the system waits before ending a process: The value is either Null or could not be found in the registry." Else Wscript.Echo "Specify how long the system waits before ending a process: ", strValue End If | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |