1 Oct 2006 06:22
Re: Running Netsh in a bat file
My suspicion is that you do not have the firewall component installed, but that's just a guess since I cannot see the system in person. All the references I've been able to find state that that error is due to the appropriate NETSH context not being available. See these links as examples... http://www.microsoft.com/technet/itsolutions/network/security/ipv6fw/unetsh01.mspx http://www.microsoft.com/downloads/details.aspx?FamilyID=4454e0e1-61fa-447a-bdcd-499f73a637d1&DisplayLang=en http://www.chicagotech.net/netsh.htm http://forum.oscr.arizona.edu/archive/index.php/t-2284.html Good luck Ken Mazie --- In batchworld@..., "Gary Kuznitz" <docfxit <at> ...> wrote: > > I have a bat file with the following command: > netsh firewall add portopening TCP 5900 UltraVNCTCP5900 enable all > > I'm getting an error saying: > The following command was not found: firewall add portopening TCP 5900 > UltraVNCTCP5900 enable all. > > Does anyone know how to fix it? > > Thank you, > > Gary Kuznitz > To Post a message, send it to: batchworld@...(Continue reading)
RSS Feed