07-17-2009, 02:00 PM
Yes, You can by giving the server ip address or computer name
Let me know if this works
-Mr.K
Code:
Dim fso, msg, filespec
filespec = "\\192.168.1.1\c$\boot.ini"
Set fso = CreateObject("Scripting.FileSystemObject")
If (fso.FileExists(filespec)) Then
msgbox filespec & " exists."
Else
msgbox filespec & " doesn't exist."
End If
Let me know if this works
-Mr.K