Skip to content

Instantly share code, notes, and snippets.

@Maximus5
Created February 25, 2019 21:27
Show Gist options
  • Save Maximus5/8e2f2da03dcbd31f60bbb0071e0cbee4 to your computer and use it in GitHub Desktop.
Save Maximus5/8e2f2da03dcbd31f60bbb0071e0cbee4 to your computer and use it in GitHub Desktop.
@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