Hello,
I recently changed workstations. My old WorkStation was WS63, my new one is WS130 (not that it matters, but I didn't feel like coming up with fake numbers). Anyway, part of my program is looking for files on WS63 (which is no longer in use). Using
IO.File.Exists("\\WS130\c$\asdf.bmp")
returns true/false immediately, however
IO.File.Exists("\\WS63\c$\asdf.bmp")
is taking somewhere around one minute before returning false.
Does anyone know of a better way to check to see if a file exists?
Thanks.




Reply With Quote