- Jun
- 113
- 7
I think I'm trying to do something pretty simple, and I know that it works in CMD, but it's not working in TCC. Maybe someone can suggest what I'm doing wrong.
I have a virtual drive P (a cloud storage service virtual drive provided by pCloud), with folders in it. From a TCC prompt, if I type a letter or two of a directory name, I want to use the TAB key to complete the directory name. Tab completion of partial directory/folder names occurs transparently and perfectly on the C: drive -- e.g., "cd ba<TAB>" will cycle through all the directories beginning with "ba" on the C: drive. However, the same behavior does not occur on the P: drive.
I am attaching an animated GIF to illustrate this behavior. (It runs only once, as I find endless loops annoying.) Note especially that I start off using TCC to show the problem, then when I switch to cmd.exe, TAB completion of the folder name occurs just fine, but when I switch back to tcc.exe, now the TAB key doesn't complete anything.
Note also that If I type "cd", space, and then hit TAB, it will cycle through the directory names. But if I enter just one letter of a directory, TCC refuses to complete the directory name.
In my normal environment, I do not have the environment variable FILECOMPLETION defined. However defining it (
I have a virtual drive P (a cloud storage service virtual drive provided by pCloud), with folders in it. From a TCC prompt, if I type a letter or two of a directory name, I want to use the TAB key to complete the directory name. Tab completion of partial directory/folder names occurs transparently and perfectly on the C: drive -- e.g., "cd ba<TAB>" will cycle through all the directories beginning with "ba" on the C: drive. However, the same behavior does not occur on the P: drive.
I am attaching an animated GIF to illustrate this behavior. (It runs only once, as I find endless loops annoying.) Note especially that I start off using TCC to show the problem, then when I switch to cmd.exe, TAB completion of the folder name occurs just fine, but when I switch back to tcc.exe, now the TAB key doesn't complete anything.
Note also that If I type "cd", space, and then hit TAB, it will cycle through the directory names. But if I enter just one letter of a directory, TCC refuses to complete the directory name.
In my normal environment, I do not have the environment variable FILECOMPLETION defined. However defining it (
set FILECOMPLETION=cd cdd rmdir pushd:dirs; ) has no effect in a command session. Any helpful suggestions, tweaks, or questions are welcome.