Jump to content

_ChooseFileFolder: display folders on drive but not recycle bin


Recommended Posts

This code is showing an empty treeview:

$sPath = _CFF_Choose('Choose drive or directory',   _ ; $title
            Default, _                                  ; $iW
            Default, _                                  ; $iH
            Default, _                                  ;$iX
            Default, _                                  ; $iY
            'H:\', _                                    ; $root
            '|$RECYCLE.BIN', _                          ; $mask: exclude recycle bin
            2)                                          ; $display: Entire folder tree, no files

What do I have wrong?

With $iMask as Default, this code works as expected: folders on H: drive, including $RECYCLE.BIN)

(I am including Melba23's ChooseFileFolder.au3, not the version to which I have added mapped drives and drive labels.)

Melba23: I think you answered this question from me before, but my goggling did not find your answer.

Edited by c.haslam
Spoiler

CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...