Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: sort 'like a library' in windows explorer (omit 'The ' and 'A ')

11 Jan 2012   #1
hhaddow990

Windows 7 Ultimate x64 & x32, Windows 98 (VM)
 
 
sort 'like a library' in windows explorer (omit 'The ' and 'A ')

is there a way to sort 'like a library' in windows explorer (omit 'The ' and 'A ' from file names)? i.e.
i have the files (sorted as windows would normally do with sort by name):

A File 4.ext
A File 2.ext
File 3.ext
File 7.ext
The File 1.ext
The File 5.ext
The File 6.ext
The File 8.ext
The File 9.ext
...

and i want:

The File 1.ext
A File 2.ext
File 3.ext
A File 4.ext
The File 5.ext
The File 6.ext
File 7.ext
The File 8.ext
The File 9.ext

i do not want to rename my files like this:

File 1, The.ext
File 2, A.ext
File 3.ext
File 4, A.ext
File 5, The.ext
File 6, The.ext
File 7.ext
File 8, The.ext
File 9, The.ext

or this:

File 1.ext
File 2.ext
File 3.ext
File 4.ext
File 5.ext
File 6.ext
File 7.ext
File 8.ext
File 9.ext

please note the file name formats are actually 'The Film.avi' or 'The TV Show SXXEYY.mp4' (where XX is the Series andY Y is the Epesode as a double digit numbers)

if there is anyway to do this or a 3rd party program that will work with network sharing (my files are not on the local machine but a file server running windows 7)


My System SpecsSystem Spec
.
16 Jan 2012   #2
Neutron16

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

May I ask you why are you trying to avoid renaming them? Are you seeding them?

There are good free batch renaming software (like Rename Master) out there.
My System SpecsSystem Spec
17 Jan 2012   #3
hhaddow990

Windows 7 Ultimate x64 & x32, Windows 98 (VM)
 
 

its my media library i don't want to remove all the 'the 's as i want to have the actual title as the file name and i don't want to change it to ', the.ext' as it looks tacky (as i have show file extensions turned on, and no its not getting turned off) is it possible to use an other field such as 'title' or 'subtitle' (in the details section of file properties) and 'order by' that?

oh and if so would i be able to read/'rename' that field with a batch file for automated editing?

the batch file should look something like this

//psudocode

//look for first file
file = first file;
loop{ //batch equivalent of of substring is %var:~start,length i think
if (file:filename begins 'The ') {file:title
= substring-after(file:filename ' '); //:~start 0,length 4
append (
file:title", The");} //no idea how to do this in batch
else if (file:filename begins 'A ') {file:title = substring-after(file:filename ' '); //:~start 0,length 2
append (file:title", A");}
else if (file:filename begins 'An ') {file:title = substring-after(file:filename ' '); //:~start 0,length 3
append (file:title", An");}
if (next file exists) {file = next file}
else {end}}

ps
oh and the reason i cant just use winamp is the files re on the network not the local machine
My System SpecsSystem Spec
.

Reply

 sort 'like a library' in windows explorer (omit 'The ' and 'A ')




Thread Tools




Similar help and support threads
Thread Forum
Windows Explorer doesn't sort correctly
Sometimes Windows Explorer seems to fail to sort files into the correct order. In the attached image, which is the list of files in the folder Receipts, which you can see from the little arrow I have requested to be sorted in ascending order of file name, why are the files ADCreceipt1211xx.pdf....
General Discussion
How to sort folder names in a library?
Hello, Does anyone know how to sort the links in a library by name, so the A's come first, or if a folder name starts with, say "!" or "_", then it goes before the A's. I never really paid attention to this but it isn't happening because I added one starting with "A" I want to come first anyway,...
General Discussion
Windows Explorer 'Sort By'
I set a folder to sort the files within it in date order, but it appears to have also applied this sorting method to the other folders within the root directory (it is a folder within the pictures library). Is there anyway to set it so that only the one folder has it's files sorted by date? ...
General Discussion
Windows Explorer Slow Sort
When I sort files in programs like MS Word, Excel, and others, sort is lightning-fast. When I sort files in Windows Explorer, the process is painfully slow. Explorer tells me my searches are slow because index isn't running. I turn on Index when prompted to do so, but when I check it in Index...
Performance & Maintenance
Movie Library sort by date added?
Hi all, I've been a long time reader of these fourms but first time poster but am looking for any advice on the following. I use the movie library function to view & play movies that are "ripped" and recorded from TV. I have now 300+ movies and add movies every week. The sort by date added...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:09.
Twitter Facebook Google+