Showing tag results for Tips/Support

Dec 9, 2009
Post comments count0
Post likes count1

What are those little overlay icons: Windows 7 edition

Raymond Chen

Some time ago, I summarized the overlay icons that come with Windows. There have been some changes in Windows 7, so I figured it'd be worth coming up with a new list. A private item is an item where the only user account with access is you.¹ You create one of these, for example, by going to the sharing wizard and saying Share with: No...

Tips/Support
Nov 27, 2009
Post comments count0
Post likes count1

Caches are nice, but they confuse memory leak detection tools

Raymond Chen

Knowledge Base article 139071 has the technically correct but easily misinterpreted title FIX: OLE Automation BSTR caching will cause memory leak sources in Windows 2000. The title is misleading because it makes you think that Oh, this is a fix for a memory leak in OLE Automation, but that's not what it is. The is the string type used by OLE Aut...

Tips/Support
Nov 26, 2009
Post comments count0
Post likes count1

When you want to copy a file into a folder, make sure you have a folder

Raymond Chen

This story is inspired by an actual customer problem. The program is used for TPS management, and when you want to create a new TPS report, you have to pick a cover sheet. The program shows you the cover sheets that have been defined, which it loads from the directory. The customer found that on one of the machines, the cover sheets weren't...

Tips/Support
Nov 18, 2009
Post comments count0
Post likes count1

How do I move the Windows.edb and other search index files?

Raymond Chen

Nothing profound today, just a little tip. My customer is looking out for a way to change the location of the windows.edb file to another (larger) drive. From the Indexing Options Control Panel, click Advanced, and then under Index location, click Select new.

Tips/Support
Nov 10, 2009
Post comments count0
Post likes count1

Little-known command line utility: clip

Raymond Chen

Windows Vista includes a tiny command line utility called . All it does is paste its stdin onto the clipboard. For the opposite direction, I use a little perl script:

Tips/Support
Oct 29, 2009
Post comments count0
Post likes count1

What this batch file needs is more escape characters

Raymond Chen

(Employing the snowclone "What this X needs is more Y.") Each time you add a parsing pass to the batch processor, you have to add another layer of escaping. This is just a special case of the more general rule of thumb: any problem in quoting can be solved by adding another layer of escaping. (Okay, it's not actually true, nor is it a rule o...

Tips/Support
Oct 28, 2009
Post comments count0
Post likes count1

Why does the Photo Gallery show all my photos with a colored tinge?

Raymond Chen

When you view your pictures with the Photo Gallery program which comes with Windows Vista, and which is also available for download from live.com, you might see a colored tinge. Where is the tinge coming from, and how do you get rid of it? Ironically, what you're actually seeing is the absence of a tinge, but you got so used to seeing the tinge, ...

HistoryTips/Support
Oct 26, 2009
Post comments count0
Post likes count1

Why won't my computer go to sleep? Where is the energy going?

Raymond Chen

The utility has been around for a while, but in Windows 7, it gained a little bit more awesome. will analyze your computer's power consumption and report on things like devices that prevent the computer from sleeping, devices which won't suspend, and processes which are increasing your battery drain. Another neat flag is which will repo...

Tips/Support
Oct 15, 2009
Post comments count0
Post likes count1

Don't use global state to manage a local problem, practical exam

Raymond Chen

There was much speculation as to how the "Ignore other applications that use Dynamic Data Exchange" setting got set. Well, one possibility is that somebody used global state to manage a local problem. "Why on earth does this setting exist?" I don't know, but there appear to be scripts which rely on it. The setting is exposed to scripts, and pe...

CodeTips/Support