How to show "press any key to continue" at the end of a batch file:
pause
ip'den hostname bulma:
NBTSTAT -A 192.168.14.107
Route komutları:
route print
route add -p 172.24.40.147 mask 255.255.255.255 172.24.71.135
route delete 172.24.40.147
Birçok txt'yi bir txt dosyaya merge etme
copy *.txt mergedFile.txt
Bir text dosyasında istenilen satırları yeni bir text dosyasına alma
findstr.exe /C:" Hits" /C:"URI :" MMP_cache_2301.txt > sonuc.txt
NOTLAR:
/C: -> tırnak içindeki string'i al demek
Burada iki adet string verdi, OR yap demek bu
CMD üzerinden nasıl shutdown vs yapılır
"shutdown /s" to Shutdown your computer
"shutdown /r "to Restart your windows PC
TELNET üzerinden port test etme
Open a command prompt
Type in "telnet <IP ADDRESS OF SERVER PC> <PORT>" and press enter.
For example, we would type “telnet 192.168.1.100 21379”
If a blank screen appears then the port is open, and the test is successful. To close this session (In Turkish Keyboard) press CTRL+ü, then type q.
If you receive a connecting... message or an error message then something is blocking that port. It could be the Windows firewall, a third party firewall like Norton's or a hardware firewall between the PCs.