Skip to content

Instantly share code, notes, and snippets.

@Maximus5

Maximus5/gh1780.cmd

Created Feb 25, 2019
Embed
What would you like to do?
@echo off
if NOT "%~1" == "" (
goto :%~1
pause
)
:in_gui
call cecho /Green "This is first tab, running new tab with two splits"
echo on
c:\windows\system32\cmd.exe -new_console /k "%~0" tab1
powershell -noprofile -new_console:s2TVb
goto fin
:tab1
call cecho /Green "This is tab1 running x64 cmd"
set Progr
goto fin
:tab2
call cecho /Yellow "This is tab2 running x32 cmd"
set Progr
goto fin
:fin
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment