Jump to content

Facing the problem to run the multiple commands in a batch file


chandru_bn
 Share

Recommended Posts

Hi All,

We want to run the multiple commands in a batch file as

netsh

wins

server 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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

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. Privacy Policy