Showing tag results for Tips/Support

Apr 17, 2008
Post comments count0
Post likes count1

One-line batch script to delete empty directories

Raymond Chen

You don't need a whole 260KB program to do it. This batch file does the trick just fine: I call it . This is the long-forgotten follow-up to Performing an operation in each subdirectory of a directory tree from batch. We're using the same technique as in that article, but pumping the result through "" to reverse the order of the enumeration...

Tips/Support
Apr 3, 2008
Post comments count0
Post likes count1

How do I force the ECHO command to echo?

Raymond Chen

The built-in command, how much simpler could it get? It takes whatever you put on the command line and prints it. And yet it's not that simple. For example, the must be careful not to compress whitespace, because people will write and when you execute this, the result had better be and not But what if you want to echo a blank line or ...

Tips/Support
Mar 6, 2008
Post comments count0
Post likes count1

How do I log on using a dial-up connection on Windows Vista?

Raymond Chen

Mike Stephens from the Group Policy Team Blog explains how to get "Log on using dial-up connections" working on Windows Vista. But I'm posting to respond to a comment on that page, since that falls under the category of "When people ask for security holes as features." The only problem is all users need to have access to an account with local ad...

Tips/SupportWhen people ask for security holes as features
Feb 20, 2008
Post comments count0
Post likes count1

Wait a second, I thought we stopped doing this back in 2003

Raymond Chen

It looks like Verizon's default DNS server for their customers is redirecting all failed DNS queries to their own site, calling the feature Advanced Web Search. Fortunately, they have instructions on how to opt out. The short version: Go to your DNS settings and change the last octet from .12 to .14.

Tips/Support
Feb 13, 2008
Post comments count0
Post likes count2

Controlling which devices will wake the computer out of sleep

Raymond Chen

I haven't experienced this problem, but I know of people who have. They'll put their laptop into suspend or standby mode, and after a few seconds, the laptop will spontaneously wake itself up. Someone gave me this tip that might (might) help you figure out what is wrong. Open a command prompt and run the command powercfg -devicequery wake_from_an...

Tips/Support
Jan 25, 2008
Post comments count0
Post likes count1

The classic start menu is even more classic than it looks

Raymond Chen

In Windows 95, the Find option took its place on the Start menu between Settings and Help. In Windows 2000, the option was still there, but its name changed to Search, a name which persist today if you use the classic Start menu. When the menu option changed its name, the keyboard accelerator changed accordingly. Whereas Find used F as ...

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

When you compress a drive, some files are exempted, but you can force it, and then it's your problem

Raymond Chen

On the drive property sheet for an NTFS volume, there is a checkbox called "Compress drive to save disk space." If you check that box, the shell marks the drive as "compress all newly-created files" and also goes through and compresses all the existing files on the drive. Well, almost all the file. Some files are exempted by default. Examples of...

Tips/Support
Nov 21, 2007
Post comments count0
Post likes count2

Hidden gotcha: The command processor's AutoRun setting

Raymond Chen

If you type at a command prompt, the command processor will spit out pages upon pages of strange geeky text. I'm not sure why the command processor folks decided to write documentation this way rather than the more traditional manner of putting it into MSDN or the online help. Maybe because that way they don't have to deal with annoying people li...

Tips/Support