Microsoft
Software
Hardware
Network
Question : DirectoryExists does not work on UNC path
Hi,
In my app I need to check if a folder exists.
DirectoryExists('\\mycomp\
d$\Documen
ts')
though the folder does exist, it always returns False.
Checking the same folder in a different way returns True.
DirectoryExists('D:\Docume
nts')
As I'm working in a network environment I need to use the UNC-path in order to point to the correct folder on the server (and not to a local folder on the client computer)
How can this be solved?
Answer : DirectoryExists does not work on UNC path
The problem is probably in permissions. Could you open \\mycomp\d$\Documents from Start/Run ?
Random Solutions
Microsoft PKI Design
printmig.exe aborting early
PowerShell string += question
delays in receiving email internally
Remote Desktop Services on Windows 2008 Foundation Server
Firefox css border on inside of div when embedding Flash with SWFObject, why?
Forward meeting requests to another mailbox
how can i create window service in C# using InstallUtil.exe ??
Trimming the beginning and end of a string
copy a defined user profile when user logs on domain for first time. Giving identical initial profile at logon. Each user can then modify this profile as required. over time keeping settings