Hello friends today i'm sharing some useful MS DOS commands,these commands really helps you in your future and it is very interesting also,as you know that MS DOS is work on command line,so by help of these commands you can easily get your output.It saves your time also and you w'll not get bore,i'm promising you.
Start->Run->Type cmd->Command prompt
1)Assoc:Associated Extension
It is a quick and easy way to check for your default file associations.open a command prompt and write "assoc" command followed by file extension.
Directory:\>assoc .zip (Press Enter)
The response is the installed application that is currently configured to handle that file type
2)Tree: View Directory Structure
By Tree command you can get the structure of any directory.
Directory:\>tree >any textfile(Press Enter)
By doing this the output of tree command is redirected to the textfile.
3)Ipconfig
if you want to know your basic network setup, just do a quick "ipconfig" and you will get details like your computer IP and the default gateway (which is typically your home router IP address).
Directory:\>ipconfig(Press Enter)
4)Ping
if you want to know the IP address of any website then you can use ping command.
Directory:\>ping any website url(Press Enter)
5)Netstat
If you want to see all network connections currently active from your PC, type "netstat".
Directory:\>netstat(Press Enter)
6)Tasklist
If you want to see all active processes in windows then type "tasklist".
Directory:\>tasklist(Press Enter)
7)Taskkill
If you want to kill any activated process then type "taskkill".
Directory:\>taskkill (Name of imagefile(service))(press Enter)
Note:-If you want more help about taskkill command then type Directory:\>taskkill /?
8)sfc /VERIFYFILE
If you want to know whether any system file is infected by virus or not then type "sfc /VERIFYFILE".
Directory:\>sfc /VERIFYFILE="Full path of sysyem file"(Press Enter)
Note:-The above command run if you have administrative privledge.So for becoming administrator you have to do following steps.
start->(type cmd in the search box)->press Ctrl+Shift+Enter
9)sfc /scannow
If you want to scan all system file then type "sfc /scannow".
Directory:\>scannow(Press Enter)
Note:-The above command run if you have administrative privledge.So for becoming administrator you have to do following steps.
start->(type cmd in the search box)->press Ctrl+Shift+Enter
10)find
If you want to find any file in the system then type "find".
Directory:\>dir directory:\ /s /b | find filename(Press Enter)
The system will respond with the directory where the file is stored.
Thanks Friends....
Start->Run->Type cmd->Command prompt
1)Assoc:Associated Extension
It is a quick and easy way to check for your default file associations.open a command prompt and write "assoc" command followed by file extension.
Directory:\>assoc .zip (Press Enter)
The response is the installed application that is currently configured to handle that file type
2)Tree: View Directory Structure
By Tree command you can get the structure of any directory.
Directory:\>tree >any textfile(Press Enter)
By doing this the output of tree command is redirected to the textfile.
3)Ipconfig
if you want to know your basic network setup, just do a quick "ipconfig" and you will get details like your computer IP and the default gateway (which is typically your home router IP address).
Directory:\>ipconfig(Press Enter)
4)Ping
if you want to know the IP address of any website then you can use ping command.
Directory:\>ping any website url(Press Enter)
5)Netstat
If you want to see all network connections currently active from your PC, type "netstat".
Directory:\>netstat(Press Enter)
6)Tasklist
If you want to see all active processes in windows then type "tasklist".
Directory:\>tasklist(Press Enter)
7)Taskkill
If you want to kill any activated process then type "taskkill".
Directory:\>taskkill (Name of imagefile(service))(press Enter)
Note:-If you want more help about taskkill command then type Directory:\>taskkill /?
8)sfc /VERIFYFILE
If you want to know whether any system file is infected by virus or not then type "sfc /VERIFYFILE".
Directory:\>sfc /VERIFYFILE="Full path of sysyem file"(Press Enter)
Note:-The above command run if you have administrative privledge.So for becoming administrator you have to do following steps.
start->(type cmd in the search box)->press Ctrl+Shift+Enter
9)sfc /scannow
If you want to scan all system file then type "sfc /scannow".
Directory:\>scannow(Press Enter)
Note:-The above command run if you have administrative privledge.So for becoming administrator you have to do following steps.
start->(type cmd in the search box)->press Ctrl+Shift+Enter
10)find
If you want to find any file in the system then type "find".
Directory:\>dir directory:\ /s /b | find filename(Press Enter)
The system will respond with the directory where the file is stored.
Thanks Friends....
No comments:
Post a Comment
Please Give Me Your Views