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


  1. Posts : 8
    Windows 7 Ultimate x64 & x32, Windows 98 (VM)
       #1

    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)
    Last edited by hhaddow990; 11 Jan 2012 at 10:39. Reason: reworded the initial statement into a question
      My Computer


  2. Posts : 934
    Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
       #2

    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 Computer


  3. Posts : 8
    Windows 7 Ultimate x64 & x32, Windows 98 (VM)
    Thread Starter
       #3

    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
    Last edited by hhaddow990; 17 Jan 2012 at 09:54. Reason: ps
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 20:20.
Find Us