Execute command from windows batch file

execute command from windows batch file

cmd.exe /K ""C:\Program Files\exeNameHere.exe" paramsHere"

    /C Carries out the command specified by string and then terminates
    /K Carries out the command specified by string but remains

Use: cmd /? to see cmd help command

How to list open ports and application using them in Windows

  netstat -abn or netstat -a -n -p tcp -o

Mais vistos