batch file to change ip, subnet and gateway

Discuss RoboTask here
Post Reply
ranjah
Posts: 2
Joined: Tue Jul 09, 2013 10:16 pm

batch file to change ip, subnet and gateway

Post 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,
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: batch file to change ip, subnet and gateway

Post by Oleg »

Why do you want to do "double-click"?
You may just run your batch file. See "Run program/Open document" action.
Oleg Yershov
ranjah
Posts: 2
Joined: Tue Jul 09, 2013 10:16 pm

Re: batch file to change ip, subnet and gateway

Post 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,
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: batch file to change ip, subnet and gateway

Post by Oleg »

There is NETSH system utility. Read more here please
Generally you can write simple BAT or CMD file and run it manually.
Oleg Yershov
Post Reply