6

I run this command in cmd:

console2 -t MyTab -r ipconfig

Should this command auto run ipconfig after console opens MyTab? It doesn't for me. It doesn't even without -t option.

1 Answer 1

5

The filename of the shell and its parameters need to be specified explicitly, like CMD.exe /K (or %COMSPEC% /K), in either

Console Settings -> Console -> Shell
or
Console Settings -> Tabs -> MyTab -> Shell .

6
  • What if I want to run different commands on for one tab?
    – WHITECOLOR
    Jun 15, 2013 at 12:22
  • Just made the suggestion a bit clearer, my bad. To be on the safe side, place the commands which you would like Console2 to run in double quotes, like console2 -t MyTab -r "ipconfig & dir C:\Windows | more"
    – user29318
    Jun 15, 2013 at 14:07
  • Unfortunately you suggestion does not work, have you tried it?
    – WHITECOLOR
    Jun 15, 2013 at 14:53
  • Yap, it's triple-checked before being posted. It may sound daft, but I just wonder if there is a tab called MyTab in your Console Settings -> Tabs. If not, Console2 won't launch properly.
    – user29318
    Jun 15, 2013 at 18:34
  • Yes there is a MyTab, there is nothing in Shell field and in Startup dir there is a dir that opens up when I run: console2 -t MyTab -r "ipconfig" but ipconfig command does not run.
    – WHITECOLOR
    Jun 15, 2013 at 22:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.