Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Retrieve FTP settings for Use passive FTPContent of Retrieve FTP settings for Use passive FTP.vbsMD5 Hash: 200DE43135F77C09ED396F28D4FCF1E6 |
||
On Error Resume Next
HKEY_CURRENT_USER = &H80000001 strComputer = "." Set objReg = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv") strKeyPath = "Software\Microsoft\FTP" ValueName = "Use PASV" objReg.GetStringValue HKEY_CURRENT_USER, strKeyPath, ValueName, strValue If IsNull(strValue) Then Wscript.Echo "Use passive FTP: The value is either Null or could not be found in the registry." Else Wscript.Echo "Use passive FTP: ", strValue End If | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |