Guest User

Untitled

a guest
Apr 20th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. @echo off
  2. set tempFile=%temp%temp
  3.  
  4. call :CheckPort "wwww.google.com" "80"
  5. GOTO :EOF
  6.  
  7. :CheckPort
  8. nc -z %~1 %~2^>%tempFile% 2^>^&1
  9. EXIT /B 0
Add Comment
Please, Sign In to add comment