Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Having used linux I am used to the feature to autocomplete a command e.g. iwlist followed by its options, flags and switches e.g. wlan0 scanning....

I attempted to do the same on Windows i.e. netsh wlan show profiles however am unable to autocomplete the options after netsh ....

Is this even possible?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Yes, and depending on which command line you are in, it performs slightly differently (Neither is as good as Linux).

cmd.exe (The traditional DOS looking one) will auto complete what is in the current working directory. If you CD %systemroot%\windows32 and then try a command, it will autocomplete net to netsh for example. Other wise, it will autocomplete to documents, folders, or any file in the current directory.

PowerShell is slight better, it will auto complete cmdlets, and things like ipconfig, netsh as well as items in the currentl directory.

It will not auto complete out of order for these, for example:

I Can "ipconTab" to Ipconfig. I cannot Get-ACTab ipconf to get the string of commands "Get-ACL ipconfig".

PowerShell cmdlets only is better yet. Where I can do things like:

Get-ProTab -NaTab fiTabTab -TabTabTab and get: Get-Process -Name firefox -FileVersionInfo

So yes, it works to different degrees and effectiveness.

share|improve this answer
add comment

Your Answer

 
discard

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.