how could i execute windows commands in the cmd window in 1 line for e.g
cd <some dir> , javac somefile.java , cd <another dir>, javac another.java
Printable View
how could i execute windows commands in the cmd window in 1 line for e.g
cd <some dir> , javac somefile.java , cd <another dir>, javac another.java
create a batch file with each command on a seperate line, and run it .. ie.
Then all you need to type in the CMD is Batch. and it will execute all the commands one for one...Code:BATCH.BAT
cd <some dir>
javac somefile.java
cd <another dir>
javac another.java
This is all old school Dos stuff, Dont they teach this any more ???