Windows Vista Forums

Command completion
  1. #1


    =?Utf-8?B?T0s=?= Guest

    Command completion

    I don’t quite understand how command completion works.
    Every time I bring previous command for editing, change something at the
    beginning of line and press TAB, it deletes the rest of the line!
    Is there a way to keep the rest of the line?
    Is it designed behavior or what? (bug or feature?)




      My System SpecsSystem Spec

  2. #2


    Bruce Payette [MSFT] Guest

    Re: Command completion

    This is a known limitation. Powershell tab-completion works by using the
    alternate end-of-line feature of the console subsystem just like cmd.exe. As
    a consequence, it suffers from some of the same limitations. We're planning
    to fix this in a future release.

    -bruce

    --
    Bruce Payette [MSFT]
    Windows PowerShell Technical Lead
    Microsoft Corporation
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Visit the Windows PowerShell Team blog at:
    http://blogs.msdn.com/PowerShell
    Visit the Windows PowerShell ScriptCenter at:
    http://www.microsoft.com/technet/scr.../hubs/msh.mspx


    "OK" <OK@discussions.microsoft.com> wrote in message
    news:3823BCA5-3D69-462D-8E50-B81AC04C03CF@microsoft.com...
    >I don't quite understand how command completion works.
    > Every time I bring previous command for editing, change something at the
    > beginning of line and press TAB, it deletes the rest of the line!
    > Is there a way to keep the rest of the line?
    > Is it designed behavior or what? (bug or feature?)
    >




      My System SpecsSystem Spec

  3. #3


    =?Utf-8?B?T0s=?= Guest

    Re: Command completion

    Bruce,
    Thank you!


      My System SpecsSystem Spec

Command completion problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command Prompt Auto Complete and path Completion Kiran Jain Vista General 0 03 Mar 2009
Command completion problem. ymail PowerShell 2 23 Jan 2008
I cannot get one download to completion!! Andy Vista General 2 02 Feb 2007
tab completion functionality jdfagan PowerShell 5 06 Nov 2006
Tab Completion oddity Andrew Watt [MVP] PowerShell 2 19 Jun 2006