Solved

Cmd.exe options "sticking" in strange way.

Posted on 2011-02-13
3
653 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
3 Comments
 
LVL 68

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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

762 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now