You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ide/command-window.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
---
2
2
title: Command Window
3
3
description: Learn how you can use the Command window to execute commands or aliases directly in the Visual Studio IDE.
4
-
ms.date: 11/04/2016
5
-
ms.topic: reference
4
+
ms.date: 8/27/2025
5
+
ms.topic: concept-article
6
6
f1_keywords:
7
7
- VS.CommandWindow
8
8
helpviewer_keywords:
@@ -19,10 +19,10 @@ ms.subservice: general-ide
19
19
---
20
20
# Command Window
21
21
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**.
23
23
24
24
## Displaying the Values of Variables
25
-
To check the value of a variable `varA`, use the [Print Command](../../ide/reference/print-command.md):
25
+
To check the value of a variable `varA`, use the [Print Command](reference/print-command.md):
26
26
27
27
```cmd
28
28
>Debug.Print varA
@@ -34,7 +34,7 @@ The question mark (?) is an alias for `Debug.Print`, so this command can also be
34
34
>? varA
35
35
```
36
36
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`.
38
38
39
39
## Entering Commands
40
40
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
62
62
## The Equals (=) Sign
63
63
The window used to enter the `EvaluateStatement` command determines whether an equals sign (=) is interpreted as a comparison operator or as an assignment operator.
64
64
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`.
66
66
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`.
68
68
69
69
## 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.
> Any command, parameter, switch, or value that contains spaces must have double quotation marks on either side.
88
88
89
-
The position of switches and parameters can be interchanged freely on the command line with the exception of the [Shell](../../ide/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.
90
90
91
91
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`.
92
92
93
93
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.
94
94
95
95
## 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,
97
97
98
98
```cmd
99
99
>Edit.Find ^^t /regex
100
100
```
101
101
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".
103
103
104
104
## 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"**.
106
106
107
107
## See also
108
108
109
-
-[Visual Studio Command Aliases](../../ide/reference/visual-studio-command-aliases.md)
110
-
-[Visual Studio Commands](../../ide/reference/visual-studio-commands.md)
109
+
-[Visual Studio Command Aliases](reference/visual-studio-command-aliases.md)
110
+
-[Visual Studio Commands](reference/visual-studio-commands.md)
Copy file name to clipboardExpand all lines: docs/ide/error-list-window.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
---
2
2
title: Error List Window
3
3
description: Learn about the Error List window and how to use it to perform tasks related to resolving the errors it displays.
4
-
ms.date: 2/5/2025
5
-
ms.topic: reference
4
+
ms.date: 8/27/2025
5
+
ms.topic: concept-article
6
6
helpviewer_keywords:
7
7
- Task List
8
8
- build errors
@@ -17,7 +17,7 @@ ms.subservice: general-ide
17
17
# Error List window
18
18
19
19
> [!NOTE]
20
-
> The **Error List** displays information about a specific error message. You can copy the error number or error string text from the **Output** window. To display the **Output** window, press **Ctrl**+**Alt**+**O**. See [Output window](../../ide/reference/output-window.md).
20
+
> The **Error List** displays information about a specific error message. You can copy the error number or error string text from the **Output** window. To display the **Output** window, press **Ctrl**+**Alt**+**O**. See [Output window](output-window.md).
21
21
22
22
The **Error List** window lets you perform the following tasks:
23
23
@@ -74,7 +74,7 @@ You can copy the error list and save it to a file. Select the errors you want to
74
74
75
75
**Severity**
76
76
77
-
Displays the different types of **Error List** entry (**Error**, **Message**, **Warning**, **Warning (active)**, **Warning (inactive)**.
77
+
Displays the different types of **Error List** entry (**Error**, **Message**, **Warning**, **Warning (active)**, **Warning (inactive)**).
78
78
79
79
**Code**
80
80
@@ -98,8 +98,8 @@ Displays the line where the problem occurs.
98
98
99
99
**Details**
100
100
101
-
Displays a clickable icon to open the [Problem Details window](../../ide/reference/problem-details-window.md) if this entry has additional details.
101
+
Displays a clickable icon to open the [Problem Details window](reference/problem-details-window.md) if this entry has additional details.
102
102
103
103
## Disable the Error List window
104
104
105
-
Like any other tool window, there are a variety of ways to manage the window. You can set it to auto-hide, close it, or create a window layout that does or doesn't contain the Error List window. See [Customize window layouts in Visual Studio - Close and autohide tool windows](../customizing-window-layouts-in-visual-studio.md#close-and-autohide-tool-windows).
105
+
Like any other tool window, there are a variety of ways to manage the window. You can set it to auto-hide, close it, or create a window layout that does or doesn't contain the Error List window. See [Customize window layouts in Visual Studio - Close and autohide tool windows](customizing-window-layouts-in-visual-studio.md#close-and-autohide-tool-windows).
0 commit comments