Solved

Cmd.exe options "sticking" in strange way.

Posted on 2011-02-13
3
658 Views
Last Modified: 2012-05-11
I usually modify the default properties for cmd.exe to enable QuickEdit, increase the window size, decrease the font size.  However, I seeing some behavior that I'm not used to in windows 7.

if I type cmd.exe by typing it in the "search program and files" run replacement and then right click on the title bar and go to properties and make my changes there, they do stick if i open cmd.exe again from the "search program and files".

However, if I drag this same cmd.exe to my desktop, the shortcut does not have the changes.  Even stranger, if I change the short cut properties, delete the short cut and drag a new cmd.exe to the desktop, my changes are still there.  

I figure this was a good oportunity for somebody to educate me on how windows 7 handles shortcuts.  I'm used to XP where if I deleted a short cut, it was gone, and a new one would have the default properties.  Windows 7 is obviously doing something different with the storage of some of these shortcut properties.
0
Comment
Question by:b_levitt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 70

Expert Comment

by:Qlemo
ID: 34884888
Those "default properties" are part of the registry, not the shortcut. They are assigned to the (start of the) Windows title, so it can make a difference how you start the cmd.exe.
0
 
LVL 16

Accepted Solution

by:
sjklein42 earned 500 total points
ID: 34884924
Specifically,  look in HKEY_CURRENT_USER\Console for the subkeys containing the various settings.  There is a special one for "Command Prompt" and another one for "DOS".  Otherwise, the subkey is the normalized string for the command that spawned  the command window.
0
 
LVL 11

Author Closing Comment

by:b_levitt
ID: 34885575
Sure enough I saw a subkey under Console for each of my earlier attempts.  Thank you.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question