- Jun
- 762
- 16
The TCFILTER command seems not to work:
However, after clearing the filter, the display in the File Explorer still shows only the .BAK files.
One can effectively remove the filter by specifying "." or "*". However, the value of the variable "_tcfolder" still has a filter in it. (And because it contains an ampersand, it causes strange output if echoed without surrounding quotes.)
It takes cdd /to bat: to get back to the unfiltered state.
Code:
[TCC34.00.19 | C:\commands\bat]
>tcfilter *.bak
[TCC34.00.19 | C:\commands\bat]
>echo %_tcfilter
*.bak
[TCC34.00.19 | C:\commands\bat]
>tcfilter /c
[TCC34.00.19 | C:\commands\bat]
>echo %_tcfilter
ECHO is OFF
However, after clearing the filter, the display in the File Explorer still shows only the .BAK files.
One can effectively remove the filter by specifying "." or "*". However, the value of the variable "_tcfolder" still has a filter in it. (And because it contains an ampersand, it causes strange output if echoed without surrounding quotes.)
Code:
>tcfilter * & echo "%_tcfolder"
"Search Results in bat&*"
It takes cdd /to bat: to get back to the unfiltered state.
Code:
[TCC34.00.19 | C:\commands\bat]
>*cdd /to bat:
[TCC34.00.19 | C:\commands\bat]
>echo "%_tcfolder"
"C:\commands\bat"
[TCC34.00.19 | C:\commands\bat]
>*tcfilter *
[TCC34.00.19 | C:\commands\bat]
>echo "%_tcfolder"
"Search Results in bat&*"
[TCC34.00.19 | C:\commands\bat]
>*tcfilter /c
[TCC34.00.19 | C:\commands\bat]
>echo "%_tcfolder"
"Search Results in bat&*"