Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I switch between Linux and Windows quite a lot and it's annoying the hell out of me that the Windows command prompt won't auto-complete directory paths when I press Tab if I use forward slashes like in Linux.

For example, if I'm trying to navigate to a directory 'bin':

cd /path/to/dir/b <tab> - this won't auto-complete to 'bin'

cd \path\to\dir\b <tab> - this will auto-complete.

Can I tell the Command Prompt to use forward slashes instead?

share|improve this question
up vote 7 down vote accepted

The short answer is no. The longer better answer is that since you are on Windows 7, you should move to using powershell instead of cmd which will autocomplete using /.

share|improve this answer
Brilliant, thanks. I didn't realise Windows 7 came with Powershell! – Griffin Jul 26 '11 at 21:04
It's the best part of Windows 7 :) – EBGreen Jul 26 '11 at 21:13
powershell has its own drawback... May be it's in Beta mode... in future version of windows people may expect it to be fixed. :) – Peeyush Apr 2 '13 at 6:26
It is not in beta. All languages/shells have issues. – EBGreen Apr 2 '13 at 14:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.