Saved Bookmarks
| 1. |
Solve : start two batch files at the same time? |
|
Answer» How can i write a batch file which start two batch files at the same time? Code: [Select]start abc.bat That doesn't work. It just opens the command PROMPT. If you want to open at the same time, try this. Code: [Select]start cmd /c abc.bat start cmd /c def.bat That will open them up in their own window, and your first script can continue running (3 windows open).Quote from: Helpmeh on April 06, 2009, 05:56:40 AM That doesn't work Yes it does. abc.bat Code: [Select]@echo off echo This is abc.bat echo hello world def.bat Code: [Select]@echo off echo This is def.bat echo goodbye world xyz.bat Code: [Select]@echo off Echo this is xyz.bat start abc.bat start def.bat Result... Wierd...that just opens 2 instances of the command prompt.Quote from: Helpmeh on April 07, 2009, 07:08:20 PM Wierd...that just opens 2 instances of the command prompt. Are abc.bat and def.bat in the same folder as def.bat? Do they contain any commands? I say, you've got Consolas as your Command Prompt Font too. It's a secret to everybody... Quote from: BC_Programmer on April 08, 2009, 12:35:27 AM I say, you've got Consolas as your Command Prompt Font too. I cannot stand the default font! The raster one I mean. I used Lucida Console for a long while, toyed with Courier New for a bit, but Consolas is my favourite. I don't like WHITE text on black background either. I use Lucida Sans Typewriter in my text editor (Ultraedit32). I switched to Consolas in VB6... courier new LOOKS like crap now! I just wish the IDE had more options for colours and such; or DIFFERENT settings, such as bold and italic for it's syntax colouring. Oh well. I had "Inconsolata" for a bit, but then I FOUND the free MS download of Consolas so I can use it on XP. before I decided on consolas I toyed around with "proggy fonts": http://www.proggyfonts.com/index.php?menu=download for me, they are simply too small. I'm not sure what the raster font really is, but if I had to guess I'd say it mapped to "system"... which I might add was the default, unchangable font in Visual Basic version 1 through 3. I guess MS realized with 4 that the font blew hard.Quote from: Dias de verano on April 08, 2009, 12:23:13 AM Are abc.bat and def.bat in the same folder as def.bat? Do they contain any commands?Yes and yes. |
|