January 24, 2008

Windows XP Your Way: Customizing Shortcuts

Windows XP Your Way: Customizing Shortcuts
One way to use Windows XP better and more efficiently is to have a quick path to your most common tasks. Here's how to create useful shortcuts.

Everyone is familiar with the icons placed on the desktop, the shortcuts to open programs. Many are also aware that shortcuts can be placed in the taskbar. However, the average PC user is often unfamiliar with the various methods that exist for creating shortcuts, not just to programs but also for other functions. There are a number of methods for creating new shortcuts:

A discussion of each approach to creating shortcuts is given in the sections below. Examples of useful shortcuts are discussed here.

Drag and drop

The drag and drop method can be used in several ways. Either the left or the right mouse button can be used for drag and drop with somewhat different behavior. I prefer the right-click method and this will be the basis for the rest of the discussion. Dragging with the right-click brings up the context menu shown in the figure. One way to employ drag and drop is to use the menu entry "Copy Here" to make a copy of an existing shortcut in a different location. For example, an entry in the Start-All Programs menu can be dragged to the desktop or to the Quick Launch bar to place a copy of a shortcut in a more readily available spot. This method is probably already familiar to many. Shortcuts can also be made from files or folders by using the menu entry "Create Shortcuts Here". Open the folder containing the object whose shortcut is desired, hold down the right-click, and drag to the desired destination, such as another folder or the desktop.

The right-click “Send To” function

For making shortcuts specifically on the desktop, the Send To function of the right-click can be used (figure on the left). Simply right-click on the desired file or folder and select "Desktop (create shortcut)" from the "Send To" menu.

 

The right-click “New” function

The most general method for creating shortcuts uses the "New" function of the context menu that appears when a vacant spot within a folder window or on the desktop is right-clicked (figure on the left). Right-click in the folder where the shortcut is to be placed and select the entry "Shortcut" from the menu. The dialog box shown below will open. The location of the target item can be entered or the "Browse" function can be used to locate it.

If the "Browse" button is selected, the dialog shown below will open. Here you can select the file or folder that you wish to create a shortcut for (the target). Once the desired folder or file has been selected, Click the "OK" button.

The Create Shortcut window will reappear, this time with the desired file or folder entered as shown below. In this example, the folder "C:\Library" has been chosen.

Click "Next" and a window where the shortcut can be named appears. After entering a name or accepting the default, click "Finish".

Executable files and switches

Many PC users are not very familiar with the capability of some program and other executable files to have what are known as "switches". A switch is some additional code that modifies the behavior of a file when it is opened. It is added to the file name after a forward slash (or sometimes a dash) when invoking the file. The typical fornat is: somefile.exe /someswitch. One advantage of using the "New" function to create shortcuts is that switches can be added to the file name. An example of this added functionality is given in the discussion on another page of picking where Windows Explorer starts.

Switch for shortcut to command-line executable

Another example where a switch is needed is a shortcut to run one of the many command-line executables. In this case, the entry for the shortcut is cmd /k somecommand.exeIf the switch /k is omitted, the command-line window will not stay open.

Other functions in shortcuts

The "New" function is also the method for making shortcuts using the methods of rundll32.exe (discussed here), control panel applets (discussed here), and Windows Explorer commands (discussed here). It is also possible to set up shortcuts to email addresses and to Internet links.

Icons for shortcuts

When you create a shortcut, Windows will assign an icon from the target program or for some functions a generic icon.

Permalink • Print • Comment

For Inveterate XP Tweakers Only

By Carl Siechert, Co-Author, Microsoft Windows XP Inside Out

One of the fun things about Windows XP and Windows 2000 is that there is so much tweaking you can do if you want to. You don't need to do any of the things that I described at a recent Pasadena IBM User Group presentation, but if you like peeking under the hood and making a few adjustments so things run just the way you like, you can. Here's a little more information about some of the topics I discussed:

Group Policy

Group Policy lets you make all manner of settings–everything from configuring the desktop to hiding certain drives to preventing the creation of scheduled tasks. These settings (and hundreds more) are stored in the registry, which you can edit directly.

But Group Policy is much easier to use than a registry editor. A few notes before you dive in:

  • To use Group Policy, you must have Windows XP Professional or Windows 2000 it's not available in Windows XP Home Edition.
  • To use Group Policy, you must be logged on using an account that's a member of the Adminstrators group.
  • If your computer is not a member of a Windows 2000 Server domain, any settings you make in Group Policy affects everyone who uses your computer. (There is a crude workaround that lets you set up two groups of users those who are affected by Group Policy settings and those who are not. For details, check out pp. 1074-5 in " Microsoft Windows XP Inside Out." [Caution: this is the first of several plugs for my books.])

Ready, Set Go…

Start Group Policy by choosing Start, Run and typing " gpedit.msc" . (If you end up using Group Policy very much, you'll want to make a shortcut to gpedit.msc.) The next two folders and their subfolders house the most interesting policies, although you might want to check out the others as well.

Then, in the left pane, select a subfolder of Computer Configuration\Administrative Templates or User Configuration\Administrative Templates. Select a useful sounding policy in the right pane, and an explanation of the policy appears. Keep poking around until you find something that interests you. To make a setting, double-click the policy name and then choose an option in the dialog box that appears.

Pretty easy stuff, but you're exploring where few Windows users dare to tread. Unless you work hard to enable policies that, for example, prevent you from logging on, the settings under Administrative Templates are pretty safe. Nonetheless, you should read the explanation carefully before you make a policy setting.

Want more information? For a complete reference to Group Policy in Windows 2000, visit

http://www.microsoft.com/windows2000/techinfo/reskit/en-us/default.asp

Look for Windows 2000 Group Policy Reference in the contents pane. Nearly all the information in this reference applies to Windows XP Professional as well, although it doesn't include the policies that are available only in Windows XP. Another good resource is the Group Policy Object Settings spreadsheet, which you can download from

http://www.microsoft.com/WindowsXP/pro/techinfo/productdoc/gpss.asp

Although the spreadsheet doesn't explain the settings, it lists all Administrative Templates policies and shows which ones apply to each operating system it also provides a convenient way to record your own settings. You'll also find more information in " Microsoft Windows XP Inside Out" (Chapter 34) and in our new book, " Microsoft Windows Security Inside Out for Windows XP and Windows 2000" (Chapter 19). The latter book, which should be in stores in August, includes a number of specific recommendations online prescription cialis about policies you can set to better secure your system.

It’s At Your Service

I also mentioned the Services snap-in, which is included in the Computer Management console. To open Computer Management, right-click My Computer (on the Start menu or in an Explorer window) and choose Manage. In the left pane of Computer Management, select Computer Management (Local)\Services and Applications\Services. (Tip of the day: You can open the Services snap-in within its own console. You can find a shortcut to Services in the Administrative Tools folder, or you can simply choose Start, Run and type " services.msc" .)

So which services should you turn off by changing their startup type to Manual or Disable? This Web site offers some good advice: http://www.blkviper.com/WinXP/servicecfg.htm

And (time for another plug) " Microsoft Windows Security Inside Out for Windows XP and Windows 2000" provides a brief description of every service included with Windows XP and Windows 2000 and offers recommended settings.

Permalink • Print • Comment
« Previous Page
Made with WordPress and Semiologic • Sky Gold skin by Denis de Bernardy