Jump to content

Recommended Posts

Posted

in the fact, i want get many benefits from this forum to improve my informations.

in autoit script you can execute dos commands therefore are there any methods to open some port

or are there any codes in autoit script to open some port in computer?

Posted

run this from your command line

netsh firewall add portopening /?

This will give you the help for command line firewall port manipulation

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Posted

in the fact, i want get many benefits from this forum to improve my informations.

in autoit script you can execute dos commands therefore are there any methods to open some port

or are there any codes in autoit script to open some port in computer?

If you mean COM ports then try my udf in my signature.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Posted

run this from your command line

This will give you the help for command line firewall port manipulation

for example, i want open this port 44444

please, can you give me steps in dos to open this port 44444

Posted

what do you think the command i provided does?

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Posted

what do you think the command i provided does?

for example i want open this port 4444, can you help me & give me easy method(commands) to open this port>>>

Posted

kingooo, have you actually written any code yourself? All I have seen you do is keep bugging members until they write it for you.

every day

every time

every reply

your replies is very severe but i really i love every one in this forum. also i know you want me to try in order to improve in autoit script

Posted

when you type in the command i provided, do you see the examples section?

Do you see the very first example in the examples section?

I could replace the /? with "TCP 4444 MyNonReadingSelf" and put it in a run command for you....but that is ridiculous.

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Posted

when you type in the command i provided, do you see the examples section?

Do you see the very first example in the examples section?

I could replace the /? with "TCP 4444 MyNonReadingSelf" and put it in a run command for you....but that is ridiculous.

in the fact i am very beginner therefore i will write this command and i want you to correct it if there is any wrong

netsh firewall add portopening TCP 4444

DOES THE LAST COMMAND IS CORRECT OR NO

Posted

Did you try something novel, like typing it into your command prompt and finding out? You really have not offered anything of substance.

There are all of 8 parameters available for "add portopening" and 5 of them have the word optional next to them.

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...