R
Ronald S. Cook
I'm trying to see if a file exists on a server. I have the below code which
doesn't seem to work. Must I necessarily have a mapped drive to that the
path starts with X:\ or similar?
if (System.IO.File.Exists("\\MyServer\MyFolder\MySubFolder\MyFile.txt") ==
true)
{
//Do stuff...
}
Thanks,
Ron
doesn't seem to work. Must I necessarily have a mapped drive to that the
path starts with X:\ or similar?
if (System.IO.File.Exists("\\MyServer\MyFolder\MySubFolder\MyFile.txt") ==
true)
{
//Do stuff...
}
Thanks,
Ron