Question

I have a project which opens two command prompts as startup projects. My current environment has 3 monitors and I would like to open those command prompts on a secondary monitor (middle monitor is primary). Does anyone know of any way to do this in VS 2012 or any addons that can do this?

I've looked through Stackoverflow for similar questions but can't seem to find any that help. Please note that I cannot install other command line tools such as CMDOW or Console2. I want to get this working with the default console in Windows 7 Pro that comes up from Visual Studio 2012.

Thank you.

Était-ce utile?

La solution

Found the solution. Note: this works with VS 2010 too.

Run your projects (Start Debugging in VS 2012). This will show up the two command prompts.

For each command prompt

  • Position the command prompt on your secondary screen
  • Open command prompt window > Properties > Layout
  • In the "Windows Position" group box section, uncheck "Let system position window" (see attached image)
  • Click OK and then close the command prompt

Next time you run your projects, your windows will be positioned to the location you set them to.

Command Prompt Properties

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top