Run A Little More Advanced
Do you ever need more than one piece of information, when you run?
Run Window |
Do you ever want to run more than one command? Wither it be setting the title of the Terminal Window, or using the pause command?
Here is the trick!
Run the commands between &&
For example
cmd /k title ipconfig /all && ipconfig /all
This will set the title of the terminal window with the ipconfig \all and then run ipconfig \all
cmd /k @ECHO OFF && ipconfig && echo User Name: %username%
This will turn off echo, print ipconfig and then the username.
#bearMan
No comments:
Post a Comment