[RESOLVED] Check network directory and make network directory
How can I check if network directory exist and if not make it something like this
Code:
Dim exists As Boolean
Dim fso As FileSystemObject
Set fso = New FileSystemObject
networkPath="\\NAS\Conta\Date\eFactura\35182401"
exists = fso.FolderExists(networkPath)
If Not exists Then
fso.CreateFolder (networkPath)
End If
... but i don't want to use FileSystemObject.
Re: Check network directory and make network directory
AFAIK the normal PathFileExists and SHCreateDirectoryEx APIs should work.
Re: Check network directory and make network directory
Quote:
Originally Posted by
fafalone
SHCreateDirectoryEx APIs should work.
... yes you are right