|
-
July 3rd, 2008, 06:52 AM
#1
windows commands in 1 line
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
-
July 4th, 2008, 05:23 AM
#2
Re: windows commands in 1 line
create a batch file with each command on a seperate line, and run it .. ie.
Code:
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 ???
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|