How do you add a 'Year' to Folder Details?


Recommended Posts

Hello :)

 

Not sure if this is possible but...

 

Right Clicking the details tab/header in Windows Explorer, I can see that you are able to add a variety of different display columns such as Tags, Title, Authors etc. There is a choice there to add a Year column which i assume reads mp3 files for their id tags and outputs it to this column.

 

However, I would like to manually add a Year to a folder so I can then sort the folders by Year. (The year is not the date modified/created - its a manually added number)

 

Any idea how this can be done?

 

Thanks.

Go to the folder the files are in > Right click the background > Sort by or group by > More > Check year > Ok > Right click background again > Sort by or group by > Year

"However, I would like to manually add a Year to a folder so I can then sort the folders by Year. (The year is not the date modified/created - its a manually added number)"

It works by reading the tags from mp3 or mp4 files (preferably reading from the index if windows search is enabled) so it cant be done with folders.

Youll either have to...

ditch the folders and let explorer group the files by year

or add the year to the folder name

or use some program to edit the folders "date created" ntfs property and sort by that

The Year is already in the folder name. However I can't sort the folders by Year because it is at the end of the folder name. eg:

 

Foldername1 (2013)

Foldername2 (1995)

Foldername3 (2001)

 

I'll look into forcing a 'date created' attribute somehow. Thanks.

theres version of Unix "touch" program for windows, that can change date created attribute.

I've used that method in the past for similar reasons. touch directoryname --date="1/1/2010" and done, sortable by date. Can always create a script in whatever language of choice to parse the years and then do it for you as needed. Using the Year column won't work as directories don't have that metadata.

Another possibility. In each directory, create a desktop.ini file.  (Mark it as hidden afterwards if you don't want the clutter.)  In it, paste the following:

[{F29F85E0-4FF9-1068-AB91-08002B27B3D9}]
Prop2=31,Title
Prop3=31,YEAR GOES HERE
Prop4=31,Author
Prop5=31,Keywords(Tags)
Prop6=31,Comment 

Change Prop3 to the year that you want to sort on. Turn on the "Subject" field. As far as I know the others won't work with a directory, but Subject does and it's sortable. (If somebody has more info that I missed that would be great, not an expert on the desktop.ini files.)  *shrug* it's an option.  Personally I like the "touch" option better, but whatever suits your need better and all that.

 

26a5.png

For anyone that is interested in doing something similar, here is the autohotkey script i created. Run the script, highlight a folder in windows explorer, and press F10. It will create the desktop.ini file in that directory.
 
I noticed that it can take up to a few seconds for the Subject field to refresh with this new value too. So you need to give it a few seconds for the result to show.

#Persistent
#NoEnv
SetWorkingDir %A_ScriptDir%

F10::
Clipboard =
Send ^c
ClipWait, 2, 1
Selection := Clipboard
if Selection = 
Return
Clipboard =
bracket := InStr(Selection, "`(", False, 1)
year := SubStr(Selection, (bracket+1), 4)
FileDelete, %selection%\desktop.ini
FileAppend,`[`{F29F85E0-4FF9-1068-AB91-08002B27B3D9`}`]`nProp2`=31`,Title`nProp3`=31`,%year%`nProp4`=31`,Author`nProp5`=31`,Keywords`(Tags`)`nProp6`=31`,Comment, %selection%\desktop.ini 
Return

Hello,

Hello :)

 

Not sure if this is possible but...

 

Right Clicking the details tab/header in Windows Explorer, I can see that you are able to add a variety of different display columns such as Tags, Title, Authors etc. There is a choice there to add a Year column which i assume reads mp3 files for their id tags and outputs it to this column.

 

However, I would like to manually add a Year to a folder so I can then sort the folders by Year. (The year is not the date modified/created - its a manually added number)

 

Any idea how this can be done?

 

Thanks.

Well I was gonna suggest "datecreated:2013" but all you want to do is add a tag then...

Sadly, in Windows, folders are folders while in unix, folders are files so metatags cannot be added to them in Windows....

The reason desktop.ini works is because that file is used to keep a folders layout view and its parameters. Since it is a relation to the folder, you can add anything to it and it will be information about the folder.

  • 4 years later...

I know I'm bringing this topic back from the dead, but since i did quite a bit of research and found not a single success in this subject i decided to share this solution with you guys. It's quite simple actually.

Desktop.ini is where folder metadata is stored so we need to create a file like that using the correct information inside, creating each file is a bit tricky i will probably end up creating a script to read the data from the first file on the directory and apply to the ini file, here is one example:

Source for details:

Schema

[{F29F85E0-4FF9-1068-AB91-08002B27B3D9}]
Prop2 = 31,Title
Prop3 = 31,Subject
Prop4 = 31,Author
Prop5 = 31,Keywords(Tags)
Prop6 = 31,Comment
[{56A3372E-CE9C-11D2-9F0E-006097C686F6}]
Prop4 = 31,Album Name Test
Prop5 = 31,2000
Prop11 = 31,Pop

All the above were tested on WIndows 10 x64 and are fully working.

  • Jim K locked this topic
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Never had a problem with TPM and started using that many years ago in Win10. Through several motherboards and OS versions, it just does what it does without complaint. My games library doesn't even know it's there. Secure boot does a lot more than support anti-cheat, as it came along long before anti-cheat software. I've used it religiously since before I started using TPM, and I always liked it for being able to nullify virus contagions that try their best to come in underneath the firmware during boot, so that the OS doesn't see them, etc. That is its purpose, imo. I'll never understand why people who elect to use another OS feel compelled to run down Windows... I guess they need to do that to feel secure about their choices? I run Windows because it supports all the software (including games) natively that I want to buy, and I've never had to run down another OS to make me feel better about it. (Although it's certainly possible to do that, of course...) Win10 is on a ventilator atm, and Win11 is very close to being free, and I finally got to stop running StartAllBack as I moved to the Experimental/Dev channel and my 26300.8553 build supports the moveable taskbar and it's running fine at the top of the screen! Finally, my last major dislike of Win11 is being rectified! So, I'm not at all surprised to see Win11's share of the Steam survey hitting 70%.
    • I can answer about the Linux bit. I only used AMD GPUs. I currently have a 9060XT (8GB) that fits my needs, I'm not a gamer, so I don't need that much GDDR. But lately, NVIDIA has grown a lot in the recent years. Oh, the horrors of NVIDIA drivers not working. But they have been getting better. I know a lot of members onm here that are running cachyOS and other distros, and are fine with a 4090/5090 variants. Really, though, I would stick with AMD variants.
    • Everything they say you can already do yourself on the registry by changing some things.
    • Artist's renderings are so much nicer to view than the real thing, don't you think?
    • WildBit Viewer 6.20 released; no further updates planned by Razvan Serea WildBit Viewer is a popular, fast, and extensive image viewer offering a comprehensive suite of tools for photographers, designers, and image enthusiasts. It includes a powerful Viewer, Slide Show, Editor, Search, Profile Switcher, and Multi-Screen Viewer. The Viewer provides blazing-fast folder, file list, and thumbnail navigation with customizable headers, full-screen view, and a shell toolbar to organize favorite folders. It supports all major graphic formats (over 70), including JPEG, TIFF, PNG, BMP, GIF, PCX, TGA, and RAW formats. Detailed Image Info shows EXIF, IPTC, and XMP metadata, with rotation based on EXIF orientation, wallpaper setting, image comparison, geo-tag viewing, color labels, and CMS-aware color management. The Slide Show module offers 176 transition effects, multi-monitor support, custom shows with per-image settings, image marking, zoom, rotate, and desktop hiding for a professional viewing experience. The Editor supports advanced image manipulation, including crop, resize, color adjustments, curves, edge detection, effects, batch processing, retouching, layer support, and printing. Users can apply mass renaming, update or clear metadata, and work with multi-page TIFFs and animated GIFs. Search allows filtering by name, location, date, size, attributes, and metadata, while the Profile Switcher saves and loads custom layouts for all modules. The Multi-Screen Viewer opens multiple windows on available monitors, allowing simultaneous image viewing with independent zoom, pan, and rotation. WildBit Viewer also supports portable operation, 32- and 64-bit versions, Unicode, high-DPI displays, and multiple Windows styling options. With its combination of speed, versatility, and rich feature set, WildBit Viewer is an indispensable tool for managing, editing, and showcasing images efficiently. WildBit Viewer key features: Blazing-fast folder, file list, and thumbnail browsing Supports 70+ image formats including JPEG, TIFF, PNG, BMP, GIF, and RAW Full-screen view with multi-monitor support Explorer-style file handling with customizable headers Thumbnail Browser with sorting, view change, and fast size adjustment EXIF, IPTC, and XMP metadata viewing and editing Automatic rotation based on EXIF orientation Shell toolbar for organizing favorite folders Image Compare to calculate similarity between images Mass renaming and batch metadata updates File List Generator (HTML, CSV, RTF, TXT, Unicode) Rating and color labels, CMS-aware color management Video playback (AVI, MPG, MPEG, WMV) Animated GIF, multipage TIFF, Camera RAW support Slide Show with 176 transition effects and custom settings Editor: crop, resize, rotate, flip, canvas resize, and retouching tools Batch processing and image format conversion Multi-Screen Viewer: multiple windows with independent zoom, pan, and rotate Profile Switcher: save, load, reset, delete module profiles Portable operation, 32-/64-bit support, Unicode, and high-DPI ready WildBit Viewer 6.20 changelog: Viewer, Slide Show, Editor, Search, Profile Switcher & Multi Screen Viewer. Updated ImageEn to 15.0.0 version. Viewer, Slide Show, Editor, Search, Profile Switcher & Multi Screen Viewer. Updated Jedi JCL&JVCL. Viewer - Image Geo Info, OpenStreetMap removed. Slide Show Remote Mode removed. Note! This means that WildBit Slide Show Remote is now officially EOL. Editor - Shortcut keys for Capture removed. Optimized code. Note! This version includes help what supersedes all previous releases. plus Lots of bug fixes and changes, check Readme files for details. WildBit Viewer End‑of‑Life WildBit Viewer has reached its final release with version 6.20. As development comes to a close, no further feature updates are planned. WildBit Slide Show Remote reached End-of-Life on 06 June 2026, while WildBit Viewer will reach End-of-Life on 30 June 2026. Downloads will remain available until the end of July 2026 (possibly extending into early August). After End-of-Life, the software will no longer receive updates, security fixes, or technical support. Download: WildBit Viewer 64-bit | Portable 64-bit | ~70.0 MB (Freeware) Download: WildBit Viewer 32-bit | Portable 32-bit Links: WildBit Viewer Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Proficient
      Eric Biran went up a rank
      Proficient
    • Dedicated
      Conjor earned a badge
      Dedicated
    • Week One Done
      Windows Guy earned a badge
      Week One Done
    • Dedicated
      Mark Spruce earned a badge
      Dedicated
    • Collaborator
      conkir earned a badge
      Collaborator
  • Popular Contributors

    1. 1
      +primortal
      479
    2. 2
      PsYcHoKiLLa
      252
    3. 3
      Steven P.
      71
    4. 4
      +Edouard
      69
    5. 5
      FloatingFatMan
      68
  • Tell a friend

    Love Neowin? Tell a friend!