kingooo 0 Posted December 9, 2010 hi how are you if you type in DOS netstat automatically, will show all opened ports what is the correct method to close this opened ports by autoit script Share this post Link to post Share on other sites
iamtheky 927 Posted December 9, 2010 Ports would be closed by killing the process that has it open - maybe output the results of a "netstat -b" to a text file then parse it for the strings between [] then loop through those running "taskkill /IM $string" ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Share this post Link to post Share on other sites