I have a program that sometimes needs to check for the existance of certain folders on network machines. When a computer is fresh from a reboot and no network browsing has been done, I am unable to confirm the existance of the folder using the FileSystemObject (even though I know it exists). If I replace the computer name with its network IP I am then told it exists. If before I do any of this, I browse to this network folder, I get the results like I want them and the FolderExists comes back True whether I use the computer name or IP.

My question then is, what measures must I take in order to use the computer name from the very start. Can I call some method that will informs Windows to really check to see if this network folder exists?

\\supertramp\folder_test = returns False
\\192.168.0.1\folder_test = returns True