Skip to content

Commit a592e34

Browse files
committed
Acrolinx
1 parent 4d09143 commit a592e34

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/ide/command-window.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ms.subservice: general-ide
1919
---
2020
# Command Window
2121

22-
The **Command** window is used to execute commands or aliases directly in the Visual Studio integrated development environment (IDE). You can execute both menu commands and commands that do not appear on any menu. To display the **Command** window, choose **Other Windows** from the **View** menu, and select **Command Window**.
22+
The **Command** window is used to execute commands or aliases directly in the Visual Studio integrated development environment (IDE). You can execute both menu commands and commands that don't appear on any menu. To display the **Command** window, choose **Other Windows** from the **View** menu, and select **Command Window**.
2323

2424
## Displaying the Values of Variables
2525
To check the value of a variable `varA`, use the [Print Command](reference/print-command.md):
@@ -34,7 +34,7 @@ The question mark (?) is an alias for `Debug.Print`, so this command can also be
3434
>? varA
3535
```
3636

37-
Both versions of this command will return the value of the variable `varA`.
37+
Both versions of this command return the value of the variable `varA`.
3838

3939
## Entering Commands
4040
The greater than symbol (`>`) appears at the left edge of the Command window as a prompt for new lines. Use the UP ARROW and DOWN ARROW keys to scroll through previously issued commands.
@@ -62,12 +62,12 @@ When you click on any previous line in the **Command** window, you shift automat
6262
## The Equals (=) Sign
6363
The window used to enter the `EvaluateStatement` command determines whether an equals sign (=) is interpreted as a comparison operator or as an assignment operator.
6464

65-
In the **Command** window, an equals sign (=) is interpreted as a comparison operator. You cannot use assignment operators in the **Command** window. So, for example, if the values of variables `varA` and `varB` are different, then the command `>Debug.EvaluateStatement(varA=varB)` will return a value of `False`.
65+
In the **Command** window, an equals sign (=) is interpreted as a comparison operator. You can't use assignment operators in the **Command** window. So, for example, if the values of variables `varA` and `varB` are different, then the command `>Debug.EvaluateStatement(varA=varB)` returns a value of `False`.
6666

67-
In the **Immediate** window, by contrast, an equals sign (=) is interpreted as an assignment operator. So, for example, the command `>Debug.EvaluateStatement(varA=varB)` will assign to variable `varA` the value of variable `varB`.
67+
In the **Immediate** window, by contrast, an equals sign (=) is interpreted as an assignment operator. So, for example, the command `>Debug.EvaluateStatement(varA=varB)` assigns to variable `varA` the value of variable `varB`.
6868

6969
## Parameters, Switches, and Values
70-
Some Visual Studio commands have required and optional arguments, switches and values. Certain rules apply when dealing with such commands. The following is an example of a rich command to clarify the terminology.
70+
Some Visual Studio commands have required and optional arguments, switches, and values. Certain rules apply when dealing with such commands. The following example shows a rich command to clarify the terminology.
7171

7272
```cmd
7373
Edit.ReplaceInFiles /case /pattern:regex var[1-3]+ oldpar
@@ -86,23 +86,23 @@ In this example,
8686
> [!NOTE]
8787
> Any command, parameter, switch, or value that contains spaces must have double quotation marks on either side.
8888
89-
The position of switches and parameters can be interchanged freely on the command line with the exception of the [Shell](reference/shell-command.md) command, which requires its switches and parameters in a specific order.
89+
The position of switches and parameters can be interchanged freely on the command line, except for the [Shell](reference/shell-command.md) command, which requires its switches and parameters in a specific order.
9090

9191
Nearly every switch supported by a command has two forms: a short (one character) form and a long form. Multiple short-form switches can be combined into a group. For example, `/p /g /m` can be expressed alternately as `/pgm`.
9292

9393
If short-form switches are combined into a group and given a value, that value applies to every switch. For example, `/pgm:123` equates to `/p:123 /g:123 /m:123`. An error occurs if any of the switches in the group does not accept a value.
9494

9595
## Escape Characters
96-
A caret (^) character in a command line means that the character immediately following it is interpreted literally, rather than as a control character. This can be used to embed straight quotation marks ("), spaces, leading slashes, carets, or any other literal characters in a parameter or switch value, with the exception of switch names. For example,
96+
A caret (^) character in a command line means that the character immediately following it is interpreted literally, rather than as a control character. This escape character can be used to embed straight quotation marks ("), spaces, leading slashes, carets, or any other literal characters in a parameter or switch value, except for switch names. For example,
9797

9898
```cmd
9999
>Edit.Find ^^t /regex
100100
```
101101

102-
A caret functions the same whether it is inside or outside quotation marks. If a caret is the last character on the line, it is ignored. The example shown here demonstrates how to search for the pattern "^t".
102+
A caret functions the same whether it's inside or outside quotation marks. If a caret is the last character on the line, it is ignored. The example shown here demonstrates how to search for the pattern "^t".
103103

104104
## Use Quotes for Path Names with Spaces
105-
If, for example, you want to open a file that has a path containing spaces, you must put double quotes around the path or path segment that contains spaces: **C:\\"Program Files"** or **"C:\Program Files"**.
105+
If, for example, you want to open a file that has a path that contains spaces, you must put double quotes around the path or path segment that contains spaces: **C:\\"Program Files"** or **"C:\Program Files"**.
106106

107107
## See also
108108

0 commit comments

Comments
 (0)