How do I list files when changing directories using tab completion in Windows?

1

With UNIX command cd, when you press tab to complete a file/dir name and there are multiple options, it does an ls.

How can I get this behavior in command prompt with cd? When you tab complete with cd on Windows, it tries all of the matches.

travis1097

Posted 2016-03-14T20:03:23.670

Reputation: 237

Answers

1

Unlike in the Bash Shell, Windows requires you press Tab multiple times to cycle through available options — it won’t just show you them all in a list.

If however you want this behaviour you can get it by installing something like Clink

arana

Posted 2016-03-14T20:03:23.670

Reputation: 570

-2

I think you were searching for this link, you have to activate it in registry, completionchar

Farzad64

Posted 2016-03-14T20:03:23.670

Reputation: 163

Isn't that just the char for selecting the next match? – travis1097 – 2016-03-14T21:02:10.950

I didn't get you – Farzad64 – 2016-03-14T21:03:47.950

That article just talks about changing the character which selects the next match. I'm talking about listing all the matches instead of just selecting the next one. – travis1097 – 2016-03-14T21:13:42.400

Please read the question again carefully. Your answer does not answer the original question. – DavidPostill – 2016-03-15T12:32:41.020

In any case please do not post link only answers. You should quote the essential parts of the answer from the reference link(s), as the answer can become invalid if the linked page(s) change. – DavidPostill – 2016-03-15T12:33:21.897

Ok, thanks, but I'm banned from asking questions, this does not help me – Farzad64 – 2016-03-15T12:39:04.817

@Farzad64 Poor answers won't help you get out of the ban ... – DavidPostill – 2016-03-15T20:52:44.760

@Farzad64 I said this in your meta question, submitting answers, won't result in your ability to submit questions to be restored. The lack of explicit instructions, lack of formatting for the registry key, and the lack of quoting the relevant information from the support article resulted in the vote I issued. Feel free to blame me, or the community, instead of just improving the answer though (I fully expect you not to improve this answer and just complain about the vote I issued) – Ramhound – 2016-03-15T22:25:45.393

thank you , but there is no way to change this comment to remove the negative votes – Farzad64 – 2016-05-15T20:32:58.637