Jump to content
xisto Community
Sign in to follow this  
iGuest

query about batch file Batch Files

Recommended Posts

query about batch fileBatch Files

Hello,Can you please help me with batch file programming.I want to give input to some command after selecting the MENU.Suppose I select 1 to change the DNS, then command runs as netsh interface ip set dns “Local Area Connection” static 192.168.1.1 but it gives error.Is there any way so that I can provide input the netsh command.Like I press 1 to change DNS and the netsh command runs, so now how can I give input to command.I want to give "interface ip set dns “Local Area Connection” static 192.168.1.1" input to command.Thanks

-question by ranjit

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.