pouncer
July 3rd, 2008, 06:52 AM
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
GremlinSA
July 4th, 2008, 05:23 AM
create a batch file with each command on a seperate line, and run it .. ie.
BATCH.BAT
cd <some dir>
javac somefile.java
cd <another dir>
javac another.java
Then all you need to type in the CMD is Batch. and it will execute all the commands one for one...
This is all old school Dos stuff, Dont they teach this any more ???