0

Visual Studio installs shortcuts for a few command prompts. You can get to them via Start → All Programs → Visual Studio → Visual Studio Tools → Visual Studio Command Prompt. I have two problems with them:

  1. Quick Edit mode is not enabled
  2. The screen buffer is 300 lines

I know how to change the properties on a regular command prompt (and have already done so). I've tried to change both properties on the Visual Studio Command Prompt, but it results in a non-meaningful error "Unable to modify the shortcut . Check to make sure it has not been deleted or renamed".

enter image description here

The command prompt is actually just a shortcut with the target %comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x86.

How do I change the properties of the Visual Studio command prompts?

2 Answers 2

2

Modify the properties of the shortcut file. The shortcuts are located under \ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio XXXX\, with possibly another subfolder (in VS2015, it's Visual Studio Tools). You can also just right-click the entries in the Start menu / screen and go to the location of the shortcuts.

Then, right-click the shortcut and select Properties. You can edit the fonts, options, colors, etc. for a console program by editing a shortcut to that program. Note that in order to save the changes, you'll need Admin privileges (it will prompt you) because this is the "all users" Start location.

1
  • Perfect, thanks. I don't know how many times I went looking for a PIF file somewhere...
    – jww
    Oct 6, 2015 at 21:41
0

You can do what CBHacking said, or you can

  1. launch developer command prompt once as an administrator,
  2. change the settings normally from there and once you're done
  3. launch developer cmd normally again. The new settings you've applied previously will propagate to non-admin mode too.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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