Showing posts with label CMD. Show all posts
Showing posts with label CMD. Show all posts

Thursday, November 11, 2010

Net use command in CMD

If you want to map a network drive from command prompt(cmd), you can write the following command :

net use (partition letter): \\server_name\share_name
Example : net use y: \\test_server\test_share

Tuesday, April 20, 2010

Killing programs from CMD

Killing programs from CMD in Windows without opening taks manager graphically :

C:\>Tasklist
LIST OVER ALL PROGRAMS
C:\> tskill notepad(or program ID, e.g. 1476)

Friday, January 22, 2010

Find computer name with IP Address

Click start -> Write cmd in the text box(in XP you should click on Run first) -> nslookup xxx.xxx.xxx.xxx(IP ADDRESS)

Then you have computer name in front of you :-)

Monday, August 17, 2009

Enable remote desktop from CMD

Go to CMD and then run this command line at your command promt, Remote Desktop is enabled :

reg.exe add "HKLM\system\currentcontrolset\control\terminal server" /v fDenyTSConnections /t REG_DWORD /d 0 /f