The Old New Thing

How does the desktop choose the icon label color?

Many system colors come in pairs, one for background and one for foreground. For example, COLOR_MENU and COLOR_MENUTEXT; COLOR_WINDOW and COLOR_WINDOWTEXT; COLOR_HIGHLIGHT and COLOR_HIGHLIGHTTEXT. More on these colors in a future blog entry. But there is COLOR_DESKTOP and no COLOR_DESKTOPTEXT. How does the desktop choose the icon ...

Using the echo command to remember what you were doing.

Sometimes you'll start typing a complex command line and then realize that you can't execute it now. Perhaps you're in the wrong directory or you forgot to map the drive. It would be a shame to hit ESC and lose that command line. What I do is edit the line to insert the word "echo" in front, then hit Enter. (Note: This doesn't work if ...

How can I format my USB drive as NTFS?

You have to promise to play friendly. Go to Device Manager and set the policy of the USB Stick device to "Optimize for Performance". The default is to optimize for Quick Removal, which restricts you to the FAT filesystem. If you do this, then you absolutely must go through the the annoying removal dialog to unmount the filesystem ...

Where did my Task Manager tabs and buttons go?

Ah, welcome to "Tiny Footprint Mode". This mode exists for the ultrageeks who want to put a tiny little CPU meter in the corner of the screen. To go back to normal mode, just double-click a blank space in the border. This is one of those geek features that has created more problems than it solved. Sure, the geeks get their cute ...

Where do those customized web site icons come from?

In a comment to yesterday's entry, someone asked about the customized icon that appears in the address bar... sometimes. There's actually method to the madness. I was going to write about it later, but the comment (and misinformed answers) prompted me to move it up the schedule a bit. (The originally-scheduled topic for today - the ...

Blow the dust out of the connector

Okay, I'm about to reveal one of the tricks of Product Support. Sometimes you're on the phone with somebody and you suspect that the problem is something as simple as forgetting to plug it in, or that the cable was plugged into the wrong port. This is easy to do with those PS/2 connectors that fit both a keyboard and a mouse plug, or ...

What goes wrong when you add "Copy To" to the context menu

Lockergnome tipped people off to this page which talks (among other things) about adding "Copy To" to the context menu. I considered adding this tweak to Tweak UI but ultimately decided against. Here's why: The "Copy to Folder" and "Move to Folder" options weren't designed to be on the context menu. They were only meant to be placed in ...

What order do programs in the startup group execute?

The programs in the startup group run in an unspecified order. Some people think they execute in the order they were created. Then you upgraded from Windows 98 to Windows 2000 and found that didn't work any more. Other people think they execute in alphabetical order. Then you installed a Windows XP multilingual user interface language pack ...