Howto: To search a folder for files that contain a given search string

Searches for a text string in a file or files. FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] “string” [[drive:][path]filename[ …]] /V         Displays all lines NOT containing the specified string. /C         Displays only the count of lines containing the string. /N         Displays line numbers with the displayed lines. /I         Ignores the case of characters when searching for... » read more

Howto: See if a local port is listening from command prompt

List local/remote socket and PID  for all TCP connections in “Established” state: netstat -ano | find /i "established" List local/remote socket for all TCP connections in “Established” state (sometimes you get more than above): netstat -an | find /i "established" List connections over time (netstat_check_connections.bat): @echo off for /L %%X in (1,1,4) do (netstat -b... » read more