Results 1 to 3 of 3

Thread: [RESOLVED] Check network directory and make network directory

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    Craiova, Romania
    Posts
    140

    Resolved [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.
    Last edited by cliv; Apr 1st, 2024 at 03:42 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width