By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!::TYPECOMPLETE.BTM
if %1 NE TYPE quit 1
unset /q TABCOMPLETIONRESULT
do f in /p dir /ne /b /a:-d %2*.txt;%2*.btm
iff defined tabcompletionresult then
set TABCOMPLETIONRESULT=%tabcompletionresult %@quote[%f]
else
set TABCOMPLETIONRESULT=%@quote[%f]
endiff
enddo
quit 0
Here's a not very interesting example. If the command is TYPE, this will only the names of TXT and BTM files.