View and modify document association and behavior in Windows 2000 Pro
Takeaway: Windows 2000 Professional associates documents with applications through the document's file extension. Learn how simple it is to change the behavior of an application in relation to specific actions on a document.
Windows 2000 Professional associates documents with applications through the document's file extension. You can change document association in one of two ways: with the ASSOC command from a command prompt or through the File Types tab of the Folder Options dialog box (open any folder and choose Tools | Folder Options).
You can also change the behavior of an application in relation to specific actions on a document. For example, a particular document might take the same action whether you choose to edit or open the document from the document's context menu. However, those actions don't have to be the same.
The document association properties can include several actions. For example, JPG files by default are configured with an open action but no edit action. So, when you double-click a JPG file, it opens in Windows Explorer. However, you may want to right-click the file, choose Edit, and have it open in Paint or some other application.
Follow these steps to modify these document associations:
- Open the Folder Options applet from the Control Panel or choose Tools | Folder Options in any open folder.
- In the Folder Options dialog box, click the File Types tab.
- Locate the file type you want to modify and click it; then, click Advanced to open the Edit File Type dialog box.
- To add the edit action, click New to open the New Action dialog box.
- Type Edit in the Action field.
- Click Browse, select \%systemroot%\System32\mspaint.exe, and click Open.
- Click
in the Application used to perform action field, place quotes around the
path, and add a space, followed by "%1", as in the following
example:
"C:\Winnt\System32\mspaint.exe" "%1" .
- Click OK three times to close all dialog boxes.
Now when you right-click a JPG file, you should see an Edit option in the context menu. Clicking the Edit option should open the JPG file in Paint.
Note that many applications such as Microsoft Office use Dynamic Data Exchange (DDE) to initiate application functions. Modifying these application actions requires an understanding of DDE and its syntax. Search Help for DDE to learn more.
Want more Win2K tips and tricks? Automatically sign up for our free Windows 2000 Professional newsletter, delivered each Tuesday!
Print/View all Posts Comments on this article
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SponsoredWhite Papers, Webcasts, and Downloads
- Accelerating Network-based Backup Riverbed
- Improving Decision Making Through Enterprise Information Management SAP
- Riverbed Raises the Ante Again in WDS with RiOS 5.0 Riverbed
- Accelerating the Next Phase of Virtualization Riverbed
- The Road Ahead for Business Process Management SAP
Article Categories
- Security
- Security Solutions, IT Locksmith
- Networking and Communications
- E-mail Administration NetNote, Cisco Routers and Switches
- CIO and IT Management
- Project Management, CIO Issues, Strategies that Scale
- Desktops, Laptops & OS
- Windows 2000 Professional, Microsoft Word, Microsoft Excel, Microsoft Access, Windows XP,
- Data Management
- Oracle, SQL Server
- Servers
- Windows NT, Linux NetNote, Windows Server 2003
- Career Development
- Geek Trivia
- Software/Web Development
- Web Development Zone, Visual Basic, .NET
