text stringlengths 0 4.23k |
|---|
The command produces a sorted list of lines that contain the specified text. |
To sort keyboard input and display the results alphabetically on the screen, you can first use the sort command with no parameters, by typing: |
sort |
Then type the text that you want sorted, and press ENTER at the end of each line. When you have finished typing text, press CTRL+Z, and then press ENTER. The sort command displays the text you typed, sorted alphabetically. |
start |
Starts a separate Command Prompt window to run a specified program or command. |
Syntax |
start ["title"] [/d <path>] [/i] [{/min | /max}] [{/separate | /shared}] [{/low | /normal | /high | /realtime | /abovenormal | /belownormal}] [/node <NUMA node>] [/affinity <hexaffinity>] [/wait] [/b] [/machine <x86|amd64|arm|arm64>] [<command> [<parameter>... ] | <program> [<parameter>... ]] |
Note |
The machine parameter is currently in PREVIEW for Windows 11 only. The parameter is available |
beginning with the Windows 11 Insider Preview Build 22557. |
This information relates to a prerelease product that may be substantially modified before it's |
released. Microsoft makes no warranties, expressed or implied, with respect to the information |
provided here. |
Parameters |
Parameter |
Description |
<"title"> |
Specifies the title to display in the Command Prompt window title bar. |
/d <path> |
Specifies the startup directory. |
/i |
Passes the Cmd.exe startup environment to the new Command Prompt window. If /i isn't specified, the current environment is used. |
{/min \| /max} |
Specifies to minimize (/min) or maximize (/max) the new Command Prompt window. |
{/separate \| /shared} |
Starts 16-bit programs in a separate memory space (/separate) or shared memory space (/shared). These options aren't supported on 64-bit platforms. |
{/low \| /normal \| /high \| /realtime \| /abovenormal \| /belownormal} |
Starts an application in the specified priority class. |
/node <NUMA node> |
Specifies the preferred Non-Uniform Memory Architecture (NUMA) node as a decimal integer. |
/affinity <hexaffinity> |
Applies the specified processor affinity mask (expressed as a hexadecimal number) to the new application. |
/wait |
Starts an application and waits for it to end. |
/b |
Starts an application without opening a new Command Prompt window. CTRL+C handling is ignored unless the application enables CTRL+C processing. Use CTRL+BREAK to interrupt the application. |
/machine <x86\|amd64\|arm\|arm64> |
Specifies the machine architecture of the application process. |
[<command> [<parameter>... ] \| <program> [<parameter>... ]] |
Specifies the command or program to start. |
<parameter> |
Specifies parameters to pass to either the command or the program. |
/? |
Displays help at the command prompt. |
<"title"> |
<path> |
/i |
{/min \| /max} |
/min |
/max |
{/separate \| /shared} |
/separate |
{/low \| /normal \| /high \| /realtime \| /abovenormal \| /belownormal} |
<NUMA node> |
<hexaffinity> |
<x86\|amd64\|arm\|arm64> |
[<command> [<parameter>... ] \| <program> [<parameter>... ]] |
<parameter> |
Remarks |
You can run non-executable files through their file association by typing the name of the file as a command. |
If you run a command that contains the string CMD as the first token without an extension or path qualifier, CMD is replaced with the value of the COMSPEC variable. This prevents users from picking up cmd from the current directory. |
cmd |
If you run a 32-bit graphical user interface (GUI) application, cmd doesn't wait for the application to quit before returning to the command prompt. This behavior doesn't occur if you run the application from a command script. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.