Today I am going to list some of the commands that I use all the time while coding... You can type these commands in the Run Prompt.
1) For Windows Server 2003:
a) tsadmin (Terminal Services Manager) ---> Used to connect to a computer and see who has logged in, to logoff the users.. etc.
b) qwinsta /server:servername ---> to query windows station.
This is a command line tool that I use to see who has logged into a particular machine...
c) rwinsta ID /server:servername ---> Used to logoff an user from a particular server based on the ID.
First get the ID of a particular user using qwinsta and then logoff the user using rqinsta.
d) mstsc -- to launch the remote desktop connection.
e)inetmgr -- to launch IIS
f)devenv -- to lauch visual stuido 2005 and 2008.
g)lusrmgr.msc -- Used for adding a New User or adding a existing user to a group.
h)query --- to query a session etc..
2)Windows Server 2008
The only command that has changed from the windows server 2003 is
a) tsadmin.msc .... now you have to add the .msc extension to launch the Terminal Services Manager..
3)Visual Studio Commands
a) Control + "." to add the usings
b)Control + Alt + "D" --- to view all the breakPoints set in the application
c)Alt + Enter -- to view the properties window
d) Ctrl + Alt + "F" -- to search for some string in the entire solution
e)Ctrl + "F" -- to search for some string in the current file
f) shift + F12 -- to find all the references for a function.
g) Getting VisualStudio CommandPrompt -- Control + W + A
h)Go to LineNumber in code-- > Control + G
i) Open folder in VisualStudio -- > Control + O
j)Go to defition of a fucntion etc - F12
k)Formating Code - Control + K + D
4) windows general shortCuts I use
a) wins..Key + "R" to get the Run prompt.. very use full for me
b) wins..Key + "D" to get to the Desktop
c) Control Panel -- at the Run prompt type .. control
d) Add remove features -- at the Run prompt type control appwiz.cpl
5)VisualStudio Command Prompt --
a)np -- add a new project
b)props - open Properties Window
c)View.SolutionExplorer -- for viewing solution explorer
d) open filename -- to open a file from command prompt
Happy Coding!!!
Yash
Saturday, October 11, 2008
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment