Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Netstat in Windows Batch script
Name: wweeee (by wcube) Date: August 8, 2007 at 21:10:56 Pacific OS: Win 2003 CPU/Ram: N/A Product: N/A
Comment:
Hi all, how can I possibly check windows server port availability in a batch file? I would like to check whether if the port is available, and if it is, try to start another batch file.
The command that I am using is netstat -a | find "<port number>". Does anyone know how can I place this line in an IF statement, in order to get the boolean or the status from netstat and check the if the condition fulfills.
Any help from your expertise is greatly appreciated ... Many thanks!
Summary: Hi there, has anyone experience problem running a sqlplus batch script under win2003 dos shell. I can schedule (with task scheduler) the script to run within 30mins after I logoff from Windows and it ...
Summary: "and kill processes I want to kill." might be able to use output of tasklist as the basis of a "for" loop in batch-script based on either the "image name" or the username, using "find" to target the l...
Summary: We have a VB6 activex control that is embedded inside our web page. There is a toolbar on the control, from which on click of one of the buttons, we launch the URL to another web page. The thing works...