' Verify that a File ExistsSet objFSO = CreateObject("Scripting.FileSystemObject")If objFSO.FileExists("C:\FSO\ScriptLog.txt") Then Set objFolder = objFSO.GetFile("C:\FSO\ScriptLog.txt")Else Wscript.Echo "File does not exist."End If search for scripts
' Verify that a File ExistsSet objFSO = CreateObject("Scripting.FileSystemObject")If objFSO.FileExists("C:\FSO\ScriptLog.txt") Then Set objFolder = objFSO.GetFile("C:\FSO\ScriptLog.txt")Else Wscript.Echo "File does not exist."End If
Download Home Scripts Copyright © 2001-2024 adersοft