Page 1 of 1
Sorting windows property System.Generic.Integer
Posted: Mon Feb 05, 2024 4:36 am
by reedham
Hi,
I want to be able to sort my files with an arbitrary number set using the windows property system under System.Generic.Integer.
I have added an integer to number to my file properties.
Then I created property indexes for System.Generic.Integer in everything.
Functions like
Code: Select all
property-system-integer:System.Generic.Integer:>=0
seem to work just fine but when using
Code: Select all
sort:property-system-integer:System.Generic.Integer
the values are not sorted numerically.
Any help is appreciated.
Re: Sorting windows property System.Generic.Integer
Posted: Mon Feb 05, 2024 4:57 am
by void
Please try the following sort search:
sort:property-system:System.Generic.Integer
Please also consider the following search:
tonumber:property-system:system.generic.integer:>=0
tonumber:
property-system:
property-system-integer:
For reference:
Code: Select all
\AppData\Roaming\Microsoft\Windows\Libraries\ addcolumn:property-system:System.Generic.Integer sort:property-system:System.Generic.Integer tonumber:property-system:system.generic.integer:>=0
Re: Sorting windows property System.Generic.Integer
Posted: Mon Feb 05, 2024 8:30 pm
by therube
If I may ask, what is a "System.Generic.Integer"?
Is it,
System.Generic Class?
And just what are these integer numbers that voids example returns & why for the items listed?
Re: Sorting windows property System.Generic.Integer
Posted: Tue Feb 06, 2024 3:33 am
by void
System.Generic.Integer can be used to set a number to a file/folder.
It only has meaning to the user.
It can be useful for sorting.
Windows appears to pull the version from .library-ms files for the generic number.
I was just using this as an example as its the only files I could find on my systems with a System.Generic.Integer value.
Re: Sorting windows property System.Generic.Integer
Posted: Tue Feb 06, 2024 5:18 am
by reedham
Thanks!
Code: Select all
sort:property-system:System.Generic.Integer
This works and is reflected in the details view if I add the index as a column.