Recommended Posts

Hey guys, i've been trying to pause a batch file like to show "press any key to continue" and then to execute the following lines but unluckily this doesn't work in W7.

You can try it by yourself if you want:

@echo off

echo.

pause

ipconfig /all

Any solutions? It's midnight and i can't think atm Hehehh.

Link to comment
https://www.neowin.net/forum/topic/886092-pause-command-in-bat-files/
Share on other sites

Works as expected under Windows 7 64bit.

I think you should have it like this:

@echo off

echo.

ipconfig /all

pause

With the pause above ipconfig/all, press enter and ipconfig/all will roll through then vanish. This way it stops after running the command.

  On 24/03/2010 at 00:44, JohnG86 said:

Works as expected under Windows 7 64bit.

I think you should have it like this:

@echo off

echo.

ipconfig /all

pause

With the pause above ipconfig/all, press enter and ipconfig/all will roll through then vanish. This way it stops after running the command.

Works!

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.