Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Cmd.exe options "sticking" in strange way.

Posted on 2011-02-13
3
Medium Priority
?
667 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 71

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 2000 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

916 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