Thursday, January 17, 2008

Adding MOVE TO and COPY TO Commands to the Context Menu

File management can be unnecessarily tedious. Here's what I mean. In order to copy a file from my flash drive to my hard drive, I need to:


  1. Launch My Computer or Windows Explorer
  2. Navigate to the flash drive
  3. Right click on the desired file.
  4. Select Copy from the context menu
  5. Navigate to the desired destination
  6. Right click
  7. Select Paste from the context menu
All of that is fine, but I end up with the destination location in the My Computer or Windows Explorer window. If I want to copy other files from the flash drive to a different destination location, I've first got to navigate back to the flash drive. Not only does this waste time, it interferes with my (limited) attention span.

The good folks at the O'Reilly network provide two nifty registry hacks for adding Move To and Copy To options to the context menu.

www.oreillynet.com/pub/a/network/excerpt/winxphacks_chap1/index1.html

This definitely works on my Windows XP system with Service Pack 2 installed. When I choose either of the two new options from the context menu, a dialog box opens up permitting me to browse to the destination location. After the move or copy operation completes, I'm still back where I started in the source location.

Still, it's a registry hack. Accordingly, I created a system restore point before performing it.

Monday, January 14, 2008

Setting Windows XP to Shut Down at a Specified Time

Ever need to leave your PC running while some task completes but regret leaving it running all night? There’s a little-known shutdown com­mand program buried in Windows XP. Because it doesn’t seem to be docu­mented anywhere, most users are unaware of it. Here’s how to use it (and it's far easier to do than it is to explain).

  1. Launch Scheduled Tasks by click­ing on Start Programs Accessories System Tools Scheduled Tasks.
  2. Click on Add Scheduled Task and then on Next.
  3. Using the Browse button, browse to select file C:\Windows\System32\Shutdown.exe.
  4. Once the file name and path appear in the Run dialog box, append a space and –s to the end. Without that added switch, when the scheduled task runs Windows will patiently wait for you to specify whether you want to shut down, restart, log off, or cancel.
  5. Accept the default name for the task or select a different one.
  6. Follow the prompts to specify when Windows should shut down the PC.
  7. Provide your login password, then confirm it. (Tasks set through the scheduled tasks applet won’t run from an account which doesn’t have a password.)
  8. After checking the Open advanced properties checkbox, click on Finish.
  9. In the Advanced Properties prop­erty sheet, click on the Settings tab. Check the Only start the scheduled task if the computer has been idle for checkbox, specify a time inter­val (the default 10 minutes is good). Also check the Stop the task if the computer ceases to be idle check­box, then click on Apply. (This is your insurance against your PC shutting down on you should you be working late on evening.)



Should you want to tweak the task in the future or delete it, just launch the Scheduled Tasks applet again and dou­ble-click the task to edit it. Should you want to disable it, uncheck the Enabled checkbox on the Tasks tab.