How to load a prewritten line in command prompt?
Example:
Take the followings as a line:
java -jar System.jar
Can this command line be written in a .bat file so that by clicking on the .bat file it is automatically loaded?
PS: The initial start up of the command prompt has to be
C:\Users\[USER]>
So the result would therefore be:
Line1:
C:\Users\Me> cd
Line2:
C:\Users\Me> java -jar System.jar
This would prevent one from typing a command over and over again.