Solved

ASP.Net Command window

Posted on 2004-08-25
5
367 Views
Last Modified: 2013-11-25
I have a problem with my asp.net command window
it shows > instead of ?
and if i type anything it says the command is not valid.. I may have changed some settings ... I dont know whats wrong
Can anyone help me with this
Rukmini
0
Comment
Question by:yalamanchir
  • 4
5 Comments
 
LVL 17

Expert Comment

by:AerosSaga
ID: 11894889
0
 
LVL 17

Expert Comment

by:AerosSaga
ID: 11894903
0
 
LVL 17

Expert Comment

by:AerosSaga
ID: 11894963
On that first link look in the same section there are two other sections that say command mode and immediate mode.  That is what happened.  The URL doesn't change for those two links or I'd post them, but thats what your talking about.

Regards,

Aeros
0
 
LVL 17

Accepted Solution

by:
AerosSaga earned 500 total points
ID: 11895012
The Immediate mode of the Command window is used for debugging purposes such as evaluating expressions, executing statements, printing variable values, and so forth. It allows you to enter expressions to be evaluated or executed by the development language during debugging. In some cases, you can change the value of variables. The Immediate mode now also supports Intellisense.

You can also temporarily issue Visual Studio .NET commands in Immediate mode. This can be useful if you are debugging an application and using Immediate mode to view or change the value of variables but still want to interact with the interactive development environment (IDE) using commands.

    Note   To issue a single Visual Studio .NET command while in Immediate mode, you must preface the command with a greater than sign (>). For example, to switch to Command mode from Immediate mode, you must preface the command with a greater than sign (>). To enter multiple commands, switch to Command mode.

Once in a project, the Command window can be opened in Immediate mode by pressing CTRL+ALT+I, or by choosing Immediate on the Windows submenu of the Debug menu. When the Command window is in Immediate mode, the title bar displays the text Command Window - Immediate.

In Command mode, statements separated by the equal sign (=) are evaluated as comparison operators. For example, if the value of variables a and b are different, then >? a = b returns a value of False. In Immediate mode, however, the statement a=b is evaluated as an assignment operation rather than a comparison operation. That is, a=b assigns the value of variable a to the value of variable b. You cannot use assignment operations in Command mode.

Unlike previous versions of the Immediate window, the UP ARROW and DOWN ARROW keys do not move the cursor to previous commands, but rather allow you to scroll through previously issued commands.
Task       Solution       Example
Temporarily enter Command mode while in Immediate mode (to execute a single command).       Enter the command, prefacing it with a greater than sign (>).       >alias
Switch to Command mode from Immediate mode.       Enter cmd into the window, prefacing it with a greater than sign (>).       >cmd
Switch back to Immediate mode from Command mode.       Enter immed into the window without the greater than sign (>).       immed
Evaluate an expression.       Preface the expression with a question mark (?).       ?a+b

    Note   Commands typed in Command mode are not prefaced by the greater than sign (>) because it is the command prompt in that mode. You must enter the greater than sign (>), however, when issuing Visual Studio .NET commands while in Immediate mode.

Mark Mode

Mark mode in the Command window allows you to select, copy, and paste text in it or to re-execute previous commands. Enter Mark mode by clicking on a previous line in the Command window (in either Command or Immediate mode), or by choosing Mark Mode from the context menu, or by pressing CTRL + SHIFT + M. Once in Mark mode, you can use either the context commands or their keyboard equivalents to cut, copy, paste, or clear text in the window.
See Also

Command Window | Command Mode, Command Window
0
 

Author Comment

by:yalamanchir
ID: 11895061
Thanks a million ... I couldnt figure out whats going on for the last couple of days
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question