Is there a way to place comments on folders without using shortcuts

Page 1 of 2 12 LastLast

  1. Posts : 120
    Windows 10
       #1

    Is there a way to place comments on folders without using shortcuts


    I can't figure out how to place comments on my folders without needing to make shortcuts. But then if I make shortcuts there really no need for the main folders. So I was wondering if there is a way to add comments to folders like video folders.

    I'm running windows 10 home.
      My Computers


  2. Posts : 42,634
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi, agreed it's annoying there's a column 'Comments' with no GUI access in Windows.

    There is only 1 utility I found that supports this- there may be more...
    Is there a way to place comments on folders without using shortcuts-untitled.png

    - Stylefolder - via rt click folder:
    Is there a way to place comments on folders without using shortcuts-untitled2.png

    You can see how it works technically- held in desktop.ini
    Is there a way to place comments on folders without using shortcuts-1.jpg

    Note the comment appears in the infotip on hover too:
    Is there a way to place comments on folders without using shortcuts-untitled.png

    Customize Windows folders easily with StyleFolder

    Right clicking is the most convenient way - but if you wanted to edit desktop.ini a convenience tool is Deskedit:
    Is there a way to place comments on folders without using shortcuts-untitled.png
    - open it and browse to the folder.

    (Or you can add that to the context menu using e.g. Easy Context Menu editor).

    ---------------------------------------------------
    Different approach -somewhat similar outcome but using a Tag column:
    How to Tag Folders in Windows 10 - YouTube

    However this appears to require you to open the folder to be tagged, which is a disadvantage.

    Note that tags can be searched for using Windows search: folder comments can't.

    ---------------------------------------------------
    Related programs: Tagspaces (lite free version, about 69Mb download)
    https://www.tagspaces.org/
    RecentX (commercial)
    Last edited by dalchina; 28 Jul 2021 at 03:53.
      My Computers


  3. Posts : 989
    Microsoft Windows 10 Home
       #3

    Here's a .reg ifle that will add a "Add comment to folder" context menu entry for file system folders for both folder items and folder background.

    It will edit the existing desktop.ini file if there is one, or create one if there is not.

    When selected, a PowerShell window will be displayed with the prompt

    • Comment:
    • Type your desired comment and press Enter to finish.
    • Close & re-open the Explorer window to display the new comment(s)


    Limitations:
    • It seems comments aren't allows for sytem folders ( the entry is created in the desktop.ini file but they do not display )
    • It doesn't replace an existing comment, but it will add it to the deskop.ini file and then you can edit the file to delete the olde entry. ( I may work on this --- but I'm experiencing regex fatigue at the moment. )
    • Comments don't display immedialtey. You have to close & re-open hte Explorer window.


    Copy the following into Notepad, save as .reg, and then merge.



    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\Directory\Shell\Add comment to folder]
    @=""
    "Position"="Bottom"
    "SeparatorBefore"=""
    "SeparatorAfter"=""
    
    [HKEY_CLASSES_ROOT\Directory\Shell\Add comment to folder\Command]
    @="powershell  -Command \"& {sl '%V';$f='desktop.ini';$Txt = Try{(gc $f -raw -ea stop) -replace '(?s)\\s*\\[\\.\\w+]\\s',''}Catch{};([Regex]::UnEscape('[.ShellClassInfo]\\nInfoTip={0}\\n')+$Txt) -f (Read-Host Comment) | sc $f -force;(gi .).Attributes = (gi .).Attributes -bor 1;(gi $f).Attributes = (gi $f).Attributes -bor 4}\""
    
    [HKEY_CLASSES_ROOT\Directory\Background\Shell\Add comment to folder]
    @=""
    "Position"="Bottom"
    "SeparatorBefore"=""
    "SeparatorAfter"=""
    
    [HKEY_CLASSES_ROOT\Directory\Background\Shell\Add comment to folder\Command]
    @="powershell  -Command \"& {sl '%V';$f='desktop.ini';$Txt = Try{(gc $f -raw -ea stop) -replace '(?s)\\s*\\[\\.\\w+]\\s',''}Catch{};([Regex]::UnEscape('[.ShellClassInfo]\\nInfoTip={0}\\n')+$Txt) -f (Read-Host Comment) | sc $f -force;(gi .).Attributes = (gi .).Attributes -bor 1;(gi $f).Attributes = (gi $f).Attributes -bor 4}\""
      My Computer


  4. Posts : 42,634
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Note no response for a week...
      My Computers


  5. Posts : 989
    Microsoft Windows 10 Home
       #5

    Yeah, rude. I'm not that concerned with this specific OP. It's a common queisotn. And it was a good exercise in regualr expressions.
      My Computer


  6. Posts : 1,217
    W10-Pro 22H2
       #6

    As I feel rather strongly about this, I just checked on the OP's previous posts, and can see no sign of a single 'thank-you', or even a response to acknowledge replies (but I have not checked all the posts).
      My Computer


  7. Posts : 519
    Win7 Pro X64, Win10 Pro x640
       #7

    @KeithM
    I was looking for a quick solution to add comments to folders. Your reg file works perfectly. Thank you!
      My Computer


  8. Posts : 989
    Microsoft Windows 10 Home
       #8

    bamajon1974 said:
    @KeithM
    I was looking for a quick solution to add comments to folders. Your reg file works perfectly. Thank you!
    You're welcome. Thanks for he feedback.

    @dalchina , @mngerhold --- This is why I still answered...
      My Computer


  9. Posts : 42,634
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #9

    I gave a solution - ready made. Ah well, I guess the wheel had to be reinvented. Complete waste of my time.
      My Computers


  10. Posts : 1,217
    W10-Pro 22H2
       #10

    KeithM said:
    @dalchina , @mngerhold --- This is why I still answered...
    OK, I understand that if you know how to do something, it helps to post it here even if the OP doesn't see or acknowledge it, as it might help someone else - as it has in this case. But I sometimes spend much too long on something that is interesting, and find it sad when the Op can't even be bothered to respond.

    That said, my limited ability to parse powershell commands and esp regex means that, whilst I can make that context menu item work, I don't understand exactly how it does it. I can break up the command, and test bits, but get too many errors, as I don't know how to separate out all the elements.Can you enlighten me at all? Do you have a multi-line version that would be easier to inspect and test? I do at least see that the try-catch is to cope with the absence of a desktop.ini file.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:45.
Find Us




Windows 10 Forums