Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Using Tab Completion on Windows in cmd.exe

by Not_a_Number (Prior)
on Nov 24, 2011 at 18:55 UTC ( #939938=note: print w/replies, xml ) Need Help??

in reply to Using Tab Completion on Windows in cmd.exe

Please forgive me (and feel free to downvote me) if this is a silly question - I know next to zero about Unix tab completion - but in what way does cmd.exe's own tab completion fail to meet your needs?

  • Comment on Re: Using Tab Completion on Windows in cmd.exe

Replies are listed 'Best First'.
Re^2: Using Tab Completion on Windows in cmd.exe
by cavac (Deacon) on Nov 24, 2011 at 19:30 UTC

    cmd.exe can complete file and directory names. Well, most of the time anyway. And it has a (not very smart) history of the commands you previously typed. But thats just about it.

    Modern unix shells are way smarter and more flexible than that. Take this introduction for bash for example (part 2 is here): You can configure it more or less any way you like. A look at the bash manual reveals a ton of other possibilities as well.

    And there's a bunch of other smart shells out there as well. On Linux/Unix just pick what you like.

    On Windows, you have to install Cygwin... To be fair, Windows was not designed to be used from the command line while Unix was. Windows was actually designed to move the User away from the command line - which didn't work out so well. In the last few years Microsoft reversed direction and started projects like the PowerShell. And now they are moving to JavaScript ;-)

    Don't use '#ff0000':
    use Acme::AutoColor; my $redcolor = RED();
    All colors subject to change without notice.
Re^2: Using Tab Completion on Windows in cmd.exe
by Anonymous Monk on Nov 24, 2011 at 19:02 UTC

    tab completion on cmd.exe does pwd readdir completion, or C:\WIN*TAB* becomes C:\WINDOWS

    That is great if that is what you want, but if you want to provide your own keywords, not so much

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://939938]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (12)
As of 2018-04-26 14:11 GMT
Find Nodes?
    Voting Booth?