Changing 'Sort by Type' order

#1
If I set my files to Sort by file type in Windows Explorer, is there a way to change which order the various file types are arranged in? I would like to have all of my videos and images together respectively; but currently my videos are sandwiched between different types of image file.
 


#2
Hi! One way that I know, would be to drag and drop! Other members may reply latter!
Welcome to the forum!
 


#3
Hi! One way that I know, would be to drag and drop!
Windows 7 doesn't allow you to drag and drop files in Windows Explorer. That hasn't been possible since Window XP as far as I know.
 


#4
OK Sorry! I don't know then! Maybe other members will reply!;):)Was just a thought that it might work!
Would take awhile! How about copy and paste?? Surely there is a way to separate them!
 


#6
Hi @MisterCerberus ! I see you keep visiting this page. I may be wrong, but if no one is replying to your issue, they may not have a suggestion for your issue!;):)
 


Neemobeer

Windows Forum Team
Staff member
#7
Yes this is easy to do. Press alt if you don't have the menu always present. Under the View menu change "Sort By" to Name and click on "Group By" and set it to type.
 


#8
Yes this is easy to do. Press alt if you don't have the menu always present. Under the View menu change "Sort By" to Name and click on "Group By" and set it to type.
Okay. Then what? Do I somehow change the order of the groups and then change it back? How do I do that?
 


Neemobeer

Windows Forum Team
Staff member
#9
You can only change the order of the groups as either ascending or decending
 


#10
You can only change the order of the groups as either ascending or decending
So groups have nothing to do with what I'm trying to accomplish in my original post?
 


Neemobeer

Windows Forum Team
Staff member
#11
No it does, but it won't group with the granularity you are looking for. There are a couple hundred "group by" fields, you may need to either look through them and see if there are any that are specific to a video or music type file and group by that or if you can find a program that can edit those properties you could use a blank one such as Comment and for example tag all your videos files as "Video", the different types of music files as "Music" then you could group by the comment field and achieve what your looking for.
 


Neemobeer

Windows Forum Team
Staff member
#12
So a little more information. You could write a powershell script to edit these properties. You would need to import the dsofile.dll library to edit the properties. Once that is imported you could search through the directories and you would just need some simple logic (like if this is this file type set the comment property to the correct type such as Video, or Music) Then you could group by comment and you would achieve your goal.
 


This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.