chandru_bn Posted October 20, 2008 Report Share Posted October 20, 2008 Hi All,We want to run the multiple commands in a batch file as netshwinsserver 10.50.210.34 We are able to enter into netsh command but not able to enter into wins command after the netsh .This is mainly because here netsh command opens new shell.The following image shows the execution of above mentioned batch file.The control halts right after netsh command. We want to pipe line one command after another.netsh followed by wins followed by other commands.Any work around on this would be of great help.Regards,CBN Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted October 21, 2008 Report Share Posted October 21, 2008 The following image shows the execution of above mentioned batch file.I don't see any image. Quote Link to comment Share on other sites More sharing options...
chandru_bn Posted October 21, 2008 Author Report Share Posted October 21, 2008 Thanks for the inputs.we were able to achieve the same using the following commands,netsh -f <scriptfile> and netsh -c winsregds,CBN Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.