Jump to content

Recommended Posts

Posted
Hey there. I have been searching the internet and I came across some nice batch scripts to change my IP address from a static to a DHCP so I have one script that will give me my static IP address and stuff and then I have one that will change it to DHCP, Is there a way to create one script with both of them in but at the start it asks me a question and depending on what answer I give it goes to one script and runs it. I hope im making sense as im really not very good with scripts :(. Also does anyone have a proxy changing script which I can also do this with as I have to go to 6 schools all with different proxys and I would love it if I could just run a script select the school and then it sets the proxys for me. I know that's lazy but hey what can I say anything for an easier time :D
Posted

Try looking at this from the command prompt (works on Win 7 not sure about XP?)

 

choice /?

 

You should be able to create a simple addition to the script for the DHCP/Static options

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



×
×
  • Create New...