Thursday, April 19, 2007

Add Comments to Files in Windows XP

You can store additional information to your files in Windows XP.
  1. Open Windows Explorer and select View -> Choose Details... -> Select Comment and Move it up, so that it appears after the name and press Ok.
  2. Go to Tools -> Folder Options -> View and Click on Apply to All Folders.
  3. Now You can add comments to ant file by right clicking on that file and Selecting Properties -> Summary Tab and adding text to comment field.

If you want to make this process simple and want to add this to right click context menu item for the file, you can do this as follows.

  1. Download and install Dsofile.dll from Microsoft site: dsofile.dll
  2. Download this zip file and replace the original dsofile.dll file from the following site: Modified dsofile. This resolves the permission denied issue when adding the comment for the first time.
  3. Download this vb script addcomment.vbs and store it in c:\scripts or any other folder.
  4. Open registry editor
  5. Go to HKEY_CLASSES_ROOT
  6. Create shell Key if it does not exists
  7. Create a Key Add Comment under Shell Key
  8. Create a Key Command under Add Comment
  9. Set default value as follows for Command key
  10. wscript.exe C:\scripts\addcomment.vbs "%1"


Here is the things in action.






No comments: