Windows CMD

最後更新: 2019-05-17

目錄

 


findstr

 

ie.

netstat -a -p tcp -n | findstr 8443

 


find

 

get the line count of a text file

# string 必須要 ""

#  /C         Displays only the count of lines containing the string.

find /c "string" myfile.txt

netstat -nao | find /i “estab”

 


現在時間

 

@echo %time%

10:31:53.67