In the page on Customizing Filename Completion, there is a very useful option which allows specifying that autocompletion for a given command (e.g. cdd) should be limited to folder names only (the "dirs" file extension). I'm wondering whether how this can be done on-the-fly, while typing out a mask on the command line. That is: as we know, if we want to cycle through all of the *.txt files in a given place, we can type a space plus the mask: [C:\] *.txt And then hit TAB. But how can I specify a mask that will limit the auto-completion to directory names only? I've tried two possibilities that occurred to me: [C:\] \ and [C:\] dirs But neither of these worked as a dynamic completion mask.