Hi all...
i want to check a file exist or not exist
i have a script that :
Option Explicit
DIM fso, src
src="\\10.10.10.10\test$\test.txt"
Set fso = CreateObject("Scripting.FileSystemObject")
If fso.FileExists(src) Then
WScript.Echo "Statistic: 0"
Else
WScript.Echo "Statistic: 1"
End if
there is a file in there or not there doesn't matter...it gives me always "Statistic : 0"
what can i do ?
Thx and regards...