Autocomplete in windows cmd prompt?












11














I know that we can autocomplete paths in cmd prompt. I just wanted to know if we can autocomplete commands in cmd prompt like we do in bash.

Can we make it search through a list of builtin commands and all executable(exe,bat,cmd etc..) files in the %PATH% when tab is pressed?

Or is there a shell-like software that is having this feature?










share|improve this question


















  • 1




    Only in the current directory ...
    – Rook
    Feb 28 '10 at 18:37
















11














I know that we can autocomplete paths in cmd prompt. I just wanted to know if we can autocomplete commands in cmd prompt like we do in bash.

Can we make it search through a list of builtin commands and all executable(exe,bat,cmd etc..) files in the %PATH% when tab is pressed?

Or is there a shell-like software that is having this feature?










share|improve this question


















  • 1




    Only in the current directory ...
    – Rook
    Feb 28 '10 at 18:37














11












11








11


3





I know that we can autocomplete paths in cmd prompt. I just wanted to know if we can autocomplete commands in cmd prompt like we do in bash.

Can we make it search through a list of builtin commands and all executable(exe,bat,cmd etc..) files in the %PATH% when tab is pressed?

Or is there a shell-like software that is having this feature?










share|improve this question













I know that we can autocomplete paths in cmd prompt. I just wanted to know if we can autocomplete commands in cmd prompt like we do in bash.

Can we make it search through a list of builtin commands and all executable(exe,bat,cmd etc..) files in the %PATH% when tab is pressed?

Or is there a shell-like software that is having this feature?







windows command-line autocomplete






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 28 '10 at 18:19









asdfg

1,49321222




1,49321222








  • 1




    Only in the current directory ...
    – Rook
    Feb 28 '10 at 18:37














  • 1




    Only in the current directory ...
    – Rook
    Feb 28 '10 at 18:37








1




1




Only in the current directory ...
– Rook
Feb 28 '10 at 18:37




Only in the current directory ...
– Rook
Feb 28 '10 at 18:37










2 Answers
2






active

oldest

votes


















6














PromptPal



Highly configurable, and provides full Windows-style editing, command completion, command history, syntax help, a tabbed interface and much more.



Syntax Help: As soon as a command is recognized, PromptPal displays helpful information about its parameters, switches and effects in a resizeable toolbar.



Add You Own Commands: If you have command line utilities that aren't recognized by PromptPal, that's no problem - it's easy to add them to PromptPal's collection.



$29.99 - 30 days trial



alt text





PowerShell



The new command shell and extensible automation engine from Microsoft does autocomplete commands.



It's native in windows 7 and Server 2008 R2.



Win + R > powershell > Enter



To install it on other windows: http://support.microsoft.com/kb/968929

And for more ressources about it: http://technet.microsoft.com/en-us/scriptcenter/dd742419.aspx





Cygwin



A Linux-like environment for Windows. It consists of two parts:


  • A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.

  • A collection of tools which provide Linux look and feel.


And so, a bash shell that does autocomplete





There's also PowerCmd, It's a sort of GUI and not a shell replacement, so all the batch commands will be strictly the same.
It extends visually the autocomplete feature (but as far as I know, only with commands in the active directory). And it's a shareware: $29.95






share|improve this answer























  • Are you sure that powershell autocompletes commands.. I just tried it it didnt work for me... Can we make it work in xp? Thanx..
    – asdfg
    Feb 28 '10 at 18:57












  • @nsharish yes it does, and yes you can install it on xp, look at my updated answer
    – fluxtendu
    Feb 28 '10 at 19:04










  • Works for me here, I typed in 'disk' and hit tab and it cycled through a bunch of stuff that matched.
    – Unfundednut
    Feb 28 '10 at 19:07










  • powershell doesn't accepts the same commands as the command prompt I think.
    – Jader Dias
    Feb 28 '10 at 19:15










  • Yes.. Its working fine for powershell builtin cmdlets.. Only after the word is typed upto the hyphen.. I am not used to powershell cmdlets yet.. Thanx for a useful answer
    – asdfg
    Feb 28 '10 at 19:30



















0














You can use RegEdit to enable autocomplete on paths and files. Create a file called AutoCompleteChar.reg containing the following lines. Then invoke "regedit AutoCompleteChar.reg" to change autocomplete for paths and files to the tab (9) character. Works on Windows 10.



Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftCommand Processor]
"CompletionChar"=dword:00000009
"PathCompletionChar"=dword:00000009





share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f114595%2fautocomplete-in-windows-cmd-prompt%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    6














    PromptPal



    Highly configurable, and provides full Windows-style editing, command completion, command history, syntax help, a tabbed interface and much more.



    Syntax Help: As soon as a command is recognized, PromptPal displays helpful information about its parameters, switches and effects in a resizeable toolbar.



    Add You Own Commands: If you have command line utilities that aren't recognized by PromptPal, that's no problem - it's easy to add them to PromptPal's collection.



    $29.99 - 30 days trial



    alt text





    PowerShell



    The new command shell and extensible automation engine from Microsoft does autocomplete commands.



    It's native in windows 7 and Server 2008 R2.



    Win + R > powershell > Enter



    To install it on other windows: http://support.microsoft.com/kb/968929

    And for more ressources about it: http://technet.microsoft.com/en-us/scriptcenter/dd742419.aspx





    Cygwin



    A Linux-like environment for Windows. It consists of two parts:


    • A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.

    • A collection of tools which provide Linux look and feel.


    And so, a bash shell that does autocomplete





    There's also PowerCmd, It's a sort of GUI and not a shell replacement, so all the batch commands will be strictly the same.
    It extends visually the autocomplete feature (but as far as I know, only with commands in the active directory). And it's a shareware: $29.95






    share|improve this answer























    • Are you sure that powershell autocompletes commands.. I just tried it it didnt work for me... Can we make it work in xp? Thanx..
      – asdfg
      Feb 28 '10 at 18:57












    • @nsharish yes it does, and yes you can install it on xp, look at my updated answer
      – fluxtendu
      Feb 28 '10 at 19:04










    • Works for me here, I typed in 'disk' and hit tab and it cycled through a bunch of stuff that matched.
      – Unfundednut
      Feb 28 '10 at 19:07










    • powershell doesn't accepts the same commands as the command prompt I think.
      – Jader Dias
      Feb 28 '10 at 19:15










    • Yes.. Its working fine for powershell builtin cmdlets.. Only after the word is typed upto the hyphen.. I am not used to powershell cmdlets yet.. Thanx for a useful answer
      – asdfg
      Feb 28 '10 at 19:30
















    6














    PromptPal



    Highly configurable, and provides full Windows-style editing, command completion, command history, syntax help, a tabbed interface and much more.



    Syntax Help: As soon as a command is recognized, PromptPal displays helpful information about its parameters, switches and effects in a resizeable toolbar.



    Add You Own Commands: If you have command line utilities that aren't recognized by PromptPal, that's no problem - it's easy to add them to PromptPal's collection.



    $29.99 - 30 days trial



    alt text





    PowerShell



    The new command shell and extensible automation engine from Microsoft does autocomplete commands.



    It's native in windows 7 and Server 2008 R2.



    Win + R > powershell > Enter



    To install it on other windows: http://support.microsoft.com/kb/968929

    And for more ressources about it: http://technet.microsoft.com/en-us/scriptcenter/dd742419.aspx





    Cygwin



    A Linux-like environment for Windows. It consists of two parts:


    • A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.

    • A collection of tools which provide Linux look and feel.


    And so, a bash shell that does autocomplete





    There's also PowerCmd, It's a sort of GUI and not a shell replacement, so all the batch commands will be strictly the same.
    It extends visually the autocomplete feature (but as far as I know, only with commands in the active directory). And it's a shareware: $29.95






    share|improve this answer























    • Are you sure that powershell autocompletes commands.. I just tried it it didnt work for me... Can we make it work in xp? Thanx..
      – asdfg
      Feb 28 '10 at 18:57












    • @nsharish yes it does, and yes you can install it on xp, look at my updated answer
      – fluxtendu
      Feb 28 '10 at 19:04










    • Works for me here, I typed in 'disk' and hit tab and it cycled through a bunch of stuff that matched.
      – Unfundednut
      Feb 28 '10 at 19:07










    • powershell doesn't accepts the same commands as the command prompt I think.
      – Jader Dias
      Feb 28 '10 at 19:15










    • Yes.. Its working fine for powershell builtin cmdlets.. Only after the word is typed upto the hyphen.. I am not used to powershell cmdlets yet.. Thanx for a useful answer
      – asdfg
      Feb 28 '10 at 19:30














    6












    6








    6






    PromptPal



    Highly configurable, and provides full Windows-style editing, command completion, command history, syntax help, a tabbed interface and much more.



    Syntax Help: As soon as a command is recognized, PromptPal displays helpful information about its parameters, switches and effects in a resizeable toolbar.



    Add You Own Commands: If you have command line utilities that aren't recognized by PromptPal, that's no problem - it's easy to add them to PromptPal's collection.



    $29.99 - 30 days trial



    alt text





    PowerShell



    The new command shell and extensible automation engine from Microsoft does autocomplete commands.



    It's native in windows 7 and Server 2008 R2.



    Win + R > powershell > Enter



    To install it on other windows: http://support.microsoft.com/kb/968929

    And for more ressources about it: http://technet.microsoft.com/en-us/scriptcenter/dd742419.aspx





    Cygwin



    A Linux-like environment for Windows. It consists of two parts:


    • A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.

    • A collection of tools which provide Linux look and feel.


    And so, a bash shell that does autocomplete





    There's also PowerCmd, It's a sort of GUI and not a shell replacement, so all the batch commands will be strictly the same.
    It extends visually the autocomplete feature (but as far as I know, only with commands in the active directory). And it's a shareware: $29.95






    share|improve this answer














    PromptPal



    Highly configurable, and provides full Windows-style editing, command completion, command history, syntax help, a tabbed interface and much more.



    Syntax Help: As soon as a command is recognized, PromptPal displays helpful information about its parameters, switches and effects in a resizeable toolbar.



    Add You Own Commands: If you have command line utilities that aren't recognized by PromptPal, that's no problem - it's easy to add them to PromptPal's collection.



    $29.99 - 30 days trial



    alt text





    PowerShell



    The new command shell and extensible automation engine from Microsoft does autocomplete commands.



    It's native in windows 7 and Server 2008 R2.



    Win + R > powershell > Enter



    To install it on other windows: http://support.microsoft.com/kb/968929

    And for more ressources about it: http://technet.microsoft.com/en-us/scriptcenter/dd742419.aspx





    Cygwin



    A Linux-like environment for Windows. It consists of two parts:


    • A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.

    • A collection of tools which provide Linux look and feel.


    And so, a bash shell that does autocomplete





    There's also PowerCmd, It's a sort of GUI and not a shell replacement, so all the batch commands will be strictly the same.
    It extends visually the autocomplete feature (but as far as I know, only with commands in the active directory). And it's a shareware: $29.95







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Sep 13 '11 at 3:35









    3498DB

    15.7k114762




    15.7k114762










    answered Feb 28 '10 at 18:33









    fluxtendu

    6,31152749




    6,31152749












    • Are you sure that powershell autocompletes commands.. I just tried it it didnt work for me... Can we make it work in xp? Thanx..
      – asdfg
      Feb 28 '10 at 18:57












    • @nsharish yes it does, and yes you can install it on xp, look at my updated answer
      – fluxtendu
      Feb 28 '10 at 19:04










    • Works for me here, I typed in 'disk' and hit tab and it cycled through a bunch of stuff that matched.
      – Unfundednut
      Feb 28 '10 at 19:07










    • powershell doesn't accepts the same commands as the command prompt I think.
      – Jader Dias
      Feb 28 '10 at 19:15










    • Yes.. Its working fine for powershell builtin cmdlets.. Only after the word is typed upto the hyphen.. I am not used to powershell cmdlets yet.. Thanx for a useful answer
      – asdfg
      Feb 28 '10 at 19:30


















    • Are you sure that powershell autocompletes commands.. I just tried it it didnt work for me... Can we make it work in xp? Thanx..
      – asdfg
      Feb 28 '10 at 18:57












    • @nsharish yes it does, and yes you can install it on xp, look at my updated answer
      – fluxtendu
      Feb 28 '10 at 19:04










    • Works for me here, I typed in 'disk' and hit tab and it cycled through a bunch of stuff that matched.
      – Unfundednut
      Feb 28 '10 at 19:07










    • powershell doesn't accepts the same commands as the command prompt I think.
      – Jader Dias
      Feb 28 '10 at 19:15










    • Yes.. Its working fine for powershell builtin cmdlets.. Only after the word is typed upto the hyphen.. I am not used to powershell cmdlets yet.. Thanx for a useful answer
      – asdfg
      Feb 28 '10 at 19:30
















    Are you sure that powershell autocompletes commands.. I just tried it it didnt work for me... Can we make it work in xp? Thanx..
    – asdfg
    Feb 28 '10 at 18:57






    Are you sure that powershell autocompletes commands.. I just tried it it didnt work for me... Can we make it work in xp? Thanx..
    – asdfg
    Feb 28 '10 at 18:57














    @nsharish yes it does, and yes you can install it on xp, look at my updated answer
    – fluxtendu
    Feb 28 '10 at 19:04




    @nsharish yes it does, and yes you can install it on xp, look at my updated answer
    – fluxtendu
    Feb 28 '10 at 19:04












    Works for me here, I typed in 'disk' and hit tab and it cycled through a bunch of stuff that matched.
    – Unfundednut
    Feb 28 '10 at 19:07




    Works for me here, I typed in 'disk' and hit tab and it cycled through a bunch of stuff that matched.
    – Unfundednut
    Feb 28 '10 at 19:07












    powershell doesn't accepts the same commands as the command prompt I think.
    – Jader Dias
    Feb 28 '10 at 19:15




    powershell doesn't accepts the same commands as the command prompt I think.
    – Jader Dias
    Feb 28 '10 at 19:15












    Yes.. Its working fine for powershell builtin cmdlets.. Only after the word is typed upto the hyphen.. I am not used to powershell cmdlets yet.. Thanx for a useful answer
    – asdfg
    Feb 28 '10 at 19:30




    Yes.. Its working fine for powershell builtin cmdlets.. Only after the word is typed upto the hyphen.. I am not used to powershell cmdlets yet.. Thanx for a useful answer
    – asdfg
    Feb 28 '10 at 19:30













    0














    You can use RegEdit to enable autocomplete on paths and files. Create a file called AutoCompleteChar.reg containing the following lines. Then invoke "regedit AutoCompleteChar.reg" to change autocomplete for paths and files to the tab (9) character. Works on Windows 10.



    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftCommand Processor]
    "CompletionChar"=dword:00000009
    "PathCompletionChar"=dword:00000009





    share|improve this answer


























      0














      You can use RegEdit to enable autocomplete on paths and files. Create a file called AutoCompleteChar.reg containing the following lines. Then invoke "regedit AutoCompleteChar.reg" to change autocomplete for paths and files to the tab (9) character. Works on Windows 10.



      Windows Registry Editor Version 5.00

      [HKEY_LOCAL_MACHINESOFTWAREMicrosoftCommand Processor]
      "CompletionChar"=dword:00000009
      "PathCompletionChar"=dword:00000009





      share|improve this answer
























        0












        0








        0






        You can use RegEdit to enable autocomplete on paths and files. Create a file called AutoCompleteChar.reg containing the following lines. Then invoke "regedit AutoCompleteChar.reg" to change autocomplete for paths and files to the tab (9) character. Works on Windows 10.



        Windows Registry Editor Version 5.00

        [HKEY_LOCAL_MACHINESOFTWAREMicrosoftCommand Processor]
        "CompletionChar"=dword:00000009
        "PathCompletionChar"=dword:00000009





        share|improve this answer












        You can use RegEdit to enable autocomplete on paths and files. Create a file called AutoCompleteChar.reg containing the following lines. Then invoke "regedit AutoCompleteChar.reg" to change autocomplete for paths and files to the tab (9) character. Works on Windows 10.



        Windows Registry Editor Version 5.00

        [HKEY_LOCAL_MACHINESOFTWAREMicrosoftCommand Processor]
        "CompletionChar"=dword:00000009
        "PathCompletionChar"=dword:00000009






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 22 '18 at 18:04









        BSalita

        6553918




        6553918






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f114595%2fautocomplete-in-windows-cmd-prompt%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Aardman Animations

            Are they similar matrix

            “minimization” problem in Euclidean space related to orthonormal basis