The Microsoft Script Centre comes up with this, must be run on the local client computer.
Set 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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.