Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Using Tab Completion on Windows in cmd.exe

by Not_a_Number (Parson)
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
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

Re^2: Using Tab Completion on Windows in cmd.exe
by cavac (Chaplain) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://939938]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2014-12-20 08:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls