Showing posts with label Dos. Show all posts
Showing posts with label Dos. Show all posts

Friday, April 6, 2012

Dos / Command Line Useful Commands

Go to Start, type then type cmd if this doesn't work type "run",click on run, then type "cmd"

Mac address on the network : arp -a




Go to Start, type then type cmd if this doesn't work type "run",click on run, then type "cmd"

Flush DNS : ipconfig /flushdns 


Go to Start, type then type cmd if this doesn't work type "run",click on run, then type "cmd"

Find all active hostnames and IP address on Network : nmap -sP 192.168.0.0/24
if your network is a 1.network then type nmap -sP 192.168.1.0/24



Detailed network information : ipconfig /all 


Finding the IP Address of the computer according to the DNS table nslookup pcname



Finding the IP Address of a Host : nslookup hostname 
 eg : nslookup google.com



Ping the computer you are trying to access using the PC name or domain :  ping pcname


Ping Domain : eg ping google.com




Reset NIC, clears cache and network settings : netsh int ip reset C:\reset.log



Sunday, July 17, 2011

Deleting All Subfolder Information

Back up your files first or at least make a copy first and do a trial run.

You want to remove all files in a subfolder

eg : c:/John Smith/my music

You have many subfolders eg "aaa" "bbb" "ccc"

eg : c:/John Smith/my music/aaa
eg : c:/John Smith/my music/bbb
eg : c:/John Smith/my music/ccc

Go to Start All programs, Accessories,  click on command prompt.

You will see c:/users/yourname>

In my example I typed:   cd my music

You will then see:     c:/users/yourname/my music>

Type del /s *.* /q

This will will leave you with all folders and subfolders, but delete all contents in the subfolders.

Be aware some files may be hidden
                        

Friday, July 16, 2010

List Of Run Commands For The Windows Cpl Msc

To use the run commands.

Go to start then run, if you cannot see run in your start menu then right click on start then properties then start menu customize, tick run command (windows 7) xp should be similar.

Copy and past a command into run and press enter.

eg: "Appwiz.Cpl" will open Add/Remove Programs.

Some commands will only work in xp so please check to see that it works in your version of windows.


Xlsx = https://docs.google.com/leaf?id=0BwjqRgkVKt1IZmM1YjU2ZmItMDMyNS00YTIwLTk1ZmMtNWJhNThiNDI0YmNl&hl=en&authkey=CNDM9qYB

Xls = https://docs.google.com/leaf?id=0BwjqRgkVKt1IN2IwMGFhMDQtYWNiYS00ZWMxLTg5ODMtODk0YzUwN2MxNWE3&hl=en&authkey=CJO58Gs

Windows Run Commands

http://www.passcape.com/windows_run_commands