I found these script on google so all credits goes to coder
Save this Script as name "blah.bat"
Read More
Save this Script as name "blah.bat"
Code:
@echo off
for /l %%%x in (1,1,2) do (
start "rdp" /HIGH nmap -n -Pn -p T:3389 -T5 --script rdp.nse -iR 0
)
exit