Showing tag results for 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
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
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
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
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
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
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
Sep 15, 2009
Post comments count0
Post likes count1

Why does the Start menu search box autoselect some items but not others?

Raymond Chen
Raymond Chen

When you open the Start menu and type into the search box, sometimes the first search result is autoselected (so you just have to hit Enter), whereas sometimes See more results is autoselected. Is there a method to this madness? If an item is found in the Programs and Control Panel sections, then the first such is autoselected. Otherwise, the def...

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

The way to stop people from copying files to a folder is to use NTFS security, not to block drag/drop

Raymond Chen
Raymond Chen

A customer wanted to prevent users from copying files to certain locations, and they did it by hooking functions like and failing the operation if the parameters were not to its liking. The customer found that the hooks stopped working in Windows Vista because Explorer in Windows Vista uses the new COM interface instead of using the old function...

Tips/Support
Aug 20, 2009
Post comments count0
Post likes count1

Why does Windows wait longer than my screen saver idle timeout before starting the screen saver?

Raymond Chen
Raymond Chen

You may find yourself in a situation where Windows takes longer than your specified screen saver idle timeout to start the screen saver. First of all, there are ways for programs to block the screen saver entirely. Calling , is how a program says, "Even though there is no mouse or keyboard input, the screen is indeed in use, so don't blank it or s...

Tips/Support