Hi John,
To add a comment to a file that will show up in Explorer's Comment Column,
right-click the file, click Properties, select the Summary tab and enter your desired
comment in the Comments box. Note that not all file types have a Summary tab.
To add a comment to a folder that will show up in Explorer's Comment Column, use a
Desktop.ini file.
For example, if you want to add the comment "My Directory of Temporary Files" to a
directory named D:\MyTemp:
- If necessary change your Explorer view settings as follows: Control Panel > Folder
Options > View [tab]: Uncheck: "Hide file extensions for known file types"
- Use Explorer to navigate to D:\MyTemp
- Right-click D:\MyTemp and choose Properties, in the Attributes section click
Read-only, click Apply, click OK to Apply changes to this folder only, click OK
- Right-click in the file list control area of D:\MyTemp and choose
New > Text Document
- Rename New Text Document to: desktop.ini
- Double-click desktop.ini, add the following two lines, and save the file:
[.ShellClassInfo]
InfoTip=My Directory of Temporary Files
Now, if the Comment column is enabled when you select D:\ in Explorer, you should
see the InfoTip text in the Comment column for D:\MyTemp
For an example (most likely) on your computer, do this:
- If necessary change your Explorer view settings as follows: Control Panel > Folder
Options > View [tab] > "Show hidden files and folders" and uncheck "Hide protected
operating system files (Recommended).
- Use Explorer to navigate to the following directory:
....\Documents and Settings\Administrator
- If necessary, enable the "Comment" column. Note that the comment next to the
Recent folder says "History Folder"
- Double-click that Recent folder
- Double-click desktop.ini
- Note the line: "InfoTip=History Folder"
For more information about customizing a folder using desktop.ini see:
Customizing Folders with Desktop.ini
http://msdn.microsoft.com/library/e...hell_basics/shell_basics_extending/custom.asp
Customizing your Computer in Desktop.ini
http://www.geocities.com/registrylord/desktop.txt
--
Carrie Garth, Microsoft MVP for Windows 2000
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- c x g
: "John Wirt" <wirt AT inet DOT ed DOT gov>
: Wrote in message : Sent: Tuesday, July 29, 2003 04:58 PM
: <SNIP>
: One of the fields that Explorer will display is "Comments." How does one
: enter comments in the file header?