Page 1 of 1

batch file to change ip, subnet and gateway

Posted: Tue Jul 09, 2013 10:29 pm
by ranjah
Hello All,

I am fairly new to Robotask and trying to accomplish something that I am not even sure if it is possible.

I would like to be able to double click on a batch file which will change the ip address, subnetmask and gateway of any laptop/pc.

Is this possible with robotask?

Any help is appreciated.

Thanks,

Re: batch file to change ip, subnet and gateway

Posted: Thu Jul 11, 2013 7:02 am
by Oleg
Why do you want to do "double-click"?
You may just run your batch file. See "Run program/Open document" action.

Re: batch file to change ip, subnet and gateway

Posted: Fri Jul 12, 2013 1:12 am
by ranjah
Thanks Oleg for your reply,

I don't want to install the whole program so I prefer either a batch file or an executable.

also this run program/open document doesn't have any action that opens network properties and lets me put change ip, subnet and gateway and then upon clicking again change it back to dhcp.

if you know of any other action that does that please let me know.

Thanks,

Re: batch file to change ip, subnet and gateway

Posted: Fri Jul 12, 2013 8:46 am
by Oleg
There is NETSH system utility. Read more here please
Generally you can write simple BAT or CMD file and run it manually.