Share via


Visual Studio Commands with Arguments

Commands that accept arguments allow you to bypass the user interface for a command, such as a dialog box, completely. Only a select group of commands accept arguments and/or switches.

Command Name Description
Add Existing Item Adds an existing file to the current solution and opens it.
Add Existing Project Adds an existing project to the current solution.
Add New Item Adds a new solution item, such as an .htm, .css, .txt, or frameset to the current solution and opens it.
Alias Creates a new alias for a complete command, complete command and arguments, or even another alias.
Evaluate Statement Evaluates and displays the given statement.
F1Help Displays a Help topic based on its specified F1 keyword.
Find Searches files using a subset of the options available on the Find dialog box.
Find in Files Searches files using a subset of the options available on the Find in Files dialog box.
Find Symbol Searches for an object in the type library.
Go To Moves the cursor to the specified line.
F1Help Command Displays a Help topic based on its specified F1 keyword.
List Call Stack Displays the current call stack.
List Disassembly Begins the debug process and allows you to specify how errors are handled.
List Memory Displays the contents of the specified range of memory.
List Programs Displays the programs being debugged.
List Threads Displays a list of the threads in the current program.
Log Command Window Output Copies all input and output from the Command window into a file.
New File Creates a new file and adds it to the currently selected project.
Open File Opens an existing file and allows you to specify an editor.
Open Project Opens an existing project and allows you to add the project to the current solution.
Open Solution Opens an existing solution.
Print Evaluates the expression and displays the results or the specified text.
Quick Find Symbol Identical to the FindSymbol command except that it always uses the options as they are currently set in the Find Symbol Dialog Box without displaying the dialog box.
Quick Watch Adds the selected or specified text to the QuickWatch dialog box.
Replace Replaces text in files using a subset of the options available in the Replace dialog box.
Replace in Files Replaces text in files using a subset of the options available in the Replace in Files dialog box.
Set Current Program Allows you to view a particular program.
Set Current Stack Frame Allows you to view a particular stack frame.
Set Current Thread Allows you to view a particular thread.
Set Radix Determines the number of bytes to view.
Shell Launches programs from within Visual Studio as though the command has been executed from the command prompt.
ShowWebBrowser Command Displays the URL you specify in a Web browser window either within the integrated development environment (IDE) or external to the IDE.
Start Begins the debug process and allows you to specify how errors are handled.
Toggle Breakpoint Turns the breakpoint either on or off, depending on its current state, at the current location in the file.
Watch Command Adds the selected or specified text to the Watch window.

See Also

Command Window | Find/Command Box | Pre-defined Visual Studio Command Aliases