Results 1 to 40 of 81

Thread: Directory Tree - Generates a list of subdirectories.

Threaded View

  1. #20
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    7,673

    Re: Directory Tree - Generates a list of subdirectories.

    Yes Tech9 get with the program

    Code:
        NTSTATUS = NtOpenFile(hFind, _
                            FILE_LIST_DIRECTORY Or SYNCHRONIZE Or FILE_READ_ACCESS, _
                            obAttr, _
                            objIoStatus, _
                            3, _
                            FILE_DIRECTORY_FILE Or FILE_SYNCHRONOUS_IO_NONALERT)
    -----
    Edit:

    I believe I found the problem with the missing files. It won't list more than 144 files in a particular directory. Haven't figured out how to solve it yet; increasing the buffer size didn't help. This limit only applies on my remote share.
    Last edited by fafalone; Aug 1st, 2016 at 02:41 PM.

Tags for this Thread

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