currently connected pc's to your computer
>arp -a
display websites visited
>ipconfig /displaydns
connect a remote share folder(map)
>net use \\192.168.1.2 password /u:username
delete all share folders
>net use * /del
for Loop in dos
---------------
syntax:
>for /L %i in (start,step,stop) do command
eg:
>for /L %i in (1,1,100) do echo hello ==>>this command will print the word hello 100 times
>for /L %i in (1,1,100) do echo %i
>for /L %i in (1,1,255) do @echo %i & @ping 127.0.0.%i >nul
>for /L %i in (1,1,255) do @echo %i & @ping 192.186.1.%i >>filename.txt | find
No comments:
Post a Comment