More than running several programs in one console, what I would like is to be able to use a different color scheme for each console. That would make it instantly clear which console is which. It's possible to run a command to change the console color scheme - Microsoft has a tool named *ColorTool.exe* that will do so - but after you use it all subsequent consoles open with the new color scheme. Grr - not what I want.
BTW, instead of changing your command files to use START, it could be easier to use DOSKEY macros (aliases) instead. For example, I have set up my console to run my *aliases.cmd* file on startup using <WINKEY-R>: cmd /k aliases The *aliases.cmd* file defines some DOSKEY macros for that console session. One of them launches my favorite text editor using START: set ep="C:\Program Files\EditPlus\editplus.exe" doskey ep=start "$1" /b %ep% $* so when I type ep, I get the text editor started without a console. I can edit the *aliases.cmd* file with another macro: doskey ea=%ep% "c:\usr\bin\aliases.cmd" IOW, you can separate the launch method from the command script. On Tuesday, June 11, 2024 at 5:37:01 AM UTC-4 Edward K. Ream wrote: > I have always launched programs in separate Windows consoles and used > Alt-Tab to switch between them. But two nights ago, I realized that this > procedure creates unnecessary work. What if it were possible to launch > multiple programs from a single console? > > > OMG. Ten minutes of googling reveals that the Windows "*start*" command > does exactly what I want. So now all my workhorse .cmd scripts use "start". > > > The only drawback is that the console no longer remembers command history. > > > Btw, it's now possible to launch two scripts at once. For example, * s && > d* launches both the s.cmd and d.cmd scripts. > > > *Summary* > > > There is no need to alt-tab to the correct console! This is the biggest > improvement to my workflow in recent memory. > > > I assume a similar trick is possible on other platforms. > > > Edward > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/f99c593b-b9be-447d-bca8-f4a74ffed092n%40googlegroups.com.
