Talk:Command-line completion

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia


Windows XP[edit]

On Windows XP, I'm almost certain that I've run into instances where I type part of a filename, hit [Tab], and have the first filename (in alpha order) completely filled in. Is this just me? [ alerante | “” 19:45, 31 Dec 2004 (UTC) ]

Tab completion has always worked for me in Windows XP. IIRC it worked in Windows 2000 too. Fredrik | talk 23:06, 2 Jan 2005 (UTC)

I'm seeing weird characters[edit]

like such: "من اصدقائه فرقة موسيقية ." [One of his friends is in a band.]

I'm not. --Gwern (contribs) 20:45 16 January 2010 (GMT)

Command line completion[edit]

What about URL completion in browsers. This should be Command line completion.

This is covered in Autocomplete. Nene (talk) 09:08, 10 January 2009 (UTC)[reply]

Windows 2000[edit]

Windows 2000 also supports command line completion for files/directories. You may view the registry setting by running "cmd /?" at the command line.

Reason for adding a cleanup tag[edit]

I made some changes to the Windows section and added links to the Microsoft site. Unfortunately that's the only way to avoid silly errors, as Microsoft likes to change the details at every release of its OS (see /f vs. /F:ON, etc.). The reason for adding a cleanup tag, apart from stylistic issues, is that the article begins with a "general" definition of tab completion, then goes on to the Windows cmd feature. However Windows cmd allows to use characters other than TAB (and even have distinct characters for directory name completion and filename completion). Thus that's not (necessarily) a *tab* completion. I thought this could be solved by rewording a bit the contents but now another idea occurs to me: what about a rename to "command prompt auto-completion"? --Gennaro Prota 15:47, 6 April 2006 (UTC)[reply]

Reason for context[edit]

The article may not really explain what command line completion is very well to a user without much experience with shells/CLIs and/or programming. I myself consider myself to have a high knowledge of computers and software in general and although I don't use CLIs that much, it took me a while to realise what it was talking about. Perhaps some examples or something would help Nil Einne 09:33, 7 November 2006 (UTC)[reply]

Added example. Nene (talk) 14:03, 10 January 2009 (UTC)[reply]

Miracle[edit]

How does the CLI for example know what arguments are allowed to be passed to a program in order to allow even this kind of command line completion? --Abdull (talk) 23:14, 26 January 2008 (UTC)[reply]

By context, and making assumptions. The first string on a command would be (normally...) a program name, so the search path for that takes into account where programs can be found (perhaps mixing with the CLI's built-in commands). After that, CLI's would generally assume additional arguments are names of files in the current working directory. Tedickey (talk) 00:03, 27 January 2008 (UTC)[reply]

External links modified[edit]

Hello fellow Wikipedians,

I have just modified 2 external links on Command-line completion. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 18 January 2022).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—InternetArchiveBot (Report bug) 07:18, 11 August 2017 (UTC)[reply]