Fenux.Net - The Life of a Geek
FAT Sorter v1.0.4
Posted on 4/21/2008 4:27 pm in Coding

What is it?

A "simple" program to sort files on a FAT file system. The target scenario for it is to sort the files and folders on a USB flash drive alphabetically, so they are loaded properly on devices that read them.

But why?

I bought a cheap car stereo about a year ago that plays MP3 files from either CD or from a USB flash drive or a compact flash memory card. However, it plays them in the order that they were added to the device.

Sometimes, Windows doesn't copy the files over in the right order, or if files are added at a later date, they stay at the end. When I listen to full albums in the car, it bugs me when they play out of order.

I searched around for a utility to correct the problem, but none of them supported recursion of subfolders. So I decided to make one.

Why it is necessary

The FAT file system doesn't support sorting directory entries. However, this is the only file system for USB flash drives that is widely supported. Unless the hardware or software accessing the device (like your computer) resorts them for display, the files will show in the order they were added to the directory.

How we get around it

To get around the problem, we cheat. By making a temporary directory, moving all the files to it, and then moving them back, in the new order, we effectively resort the directory. We then repeat the process in each directory listed. Sorter does this in reverse order, but not for any reason other than it makes the progress bar more accurate, because it knows how many files are there before it starts.

Why do you say it's a "simple" program

The actual sorting process is fairly straight forward. However, it offered me an excuse to play with technologies I hadn't gotten to use yet, like WPF (Windows Presentation Framework) and threading. I've also added basic support for localization, but as I don't speak any other languages, I haven't made any translations for it. With all that in mind, the program ended up quite a bit more complicated than necessary, but it doesn't hurt anything.

What does it require?

The program requires Windows XP or later and the .NET Framework 3.5. It will allow you to download the framework when you install it, so you don't have to install it beforehand.

Where can I get it?

You can download the file directly here. It also includes (most of) the source code for the program, if you want to take a look. I've released it as open source (see the included license for details).

30033 responses to FAT Sorter v1.0.4

Page 1 of 203
[No subject]
Exactly what I needed (same scenario with car stereo) - perfect. Thanks very much. Wonder if you anticipated the longevity of your creation!
Posted: Oct 1st, 16:45 by Anonymous
anastrozole price in pakistan
anastrozole price in the philippines <a href=http://gtcceafaggsd.com>Smeaphyf</a>, effects tamoxifen and anastrozole
Posted: Sep 19th, 23:21 by Awaomus
anastrozole generic price
anastrozole buy online uk <a href=http://gtcceafaggsd.com>Smeaphyb</a>, anastrozole blogs
Posted: Sep 18th, 18:17 by Asenooy
is this Why My DVD Player Not Show Photos In Alphabetical Order ??
my DVD player is playing off the inbuilt USB socket(usb flash drive) , but on my pc and when I copy to usb flash I always have the order for alphabetical, but when I play them from the dvd player they look like they are playing in an order for "the date they were created". Is there anything I can do so that my DVD player will play the same order as my pc ( alphabetically ) ??\nmy dvd player is a Philips .
Posted: Sep 5th, 05:20 by budda
Automobile unit won't recognize USB input.
I downloaded, installed, and ran the program. Worked great on about 80 Folders. (arranged alphabetically both folders and files) Plays super on my PC laptop, my USB input for the device can't be recognized by the USB in on my 2011 Toyota Highlander. Help!!
Posted: Aug 31st, 13:12 by SailorJerry
JPnSx Stj JQpa
<a href=http://cetweb.org/valium/>valium online no prescription</a> valium pills effects <a href=http://detaineetaskforce.org/xanax/>buy xanax online</a> xanax side effects in elderly <a href=http://www.freeholdboro.org/ambien/>buy ambien online no prescription</a> ambient weather ws-1001 review <a href=http://www.nopnr.org/tramadol/>buy tramadol online no prescription</a> tramadol for dogs overdose <a href=http://www.gazregan.com/soma/>soma no prescription</a> buy soma online us pharmacy <a href=http://tchristy.com/carisoprodol/>carisoprodol no prescription</a> carisoprodol 350 mg effects <a href=http://michaelpsilakis.com/ambien/>ambien online no prescription</a> is it legal to get ambien online <a href=https://www.hibcc.org/tramadol/>buy tramadol online without prescription</a> tramadol addiction pregnancy <a href=http://mcfr.org/ultram/>buy ultram online without prescription</a> ultram 20mg <a href=http://cfaer.org/soma/>buy soma online</a> soma muscle relaxer for menstrual cramps <a href=http://www.debauer.net/pdf/>buy carisoprodol</a> carisoprodol buy online <a href=http://www.knowthegoodshepherd.org/lib/>www.knowthegoodshepherd.org/lib/</a> where to buy retin a in south africa
Posted: Aug 22nd, 14:03 by yxcVtArNLd
TQnOq jEg fbHd
<a href=http://photojournalism.staffs.ac.uk/ultram/>buy ultram no prescription</a> cost of ultram er <a href=http://smd.mruni.eu/carisoprodol/>smd.mruni.eu/carisoprodol/</a> carisoprodol 446 <a href=http://business-factory.cz/retina/>buy retin a no prescription</a> retin a cream for wrinkles around the eyes <a href=http://www.graphicartsassociation.org/strattera/>buy strattera online cheap</a> strattera 30 mg <a href=http://woa.dk/propecia/>buy propecia no prescription</a> propecia results 4 months <a href=http://designdimensions.in/priligy/>priligy premature ejaculation</a> priligy johor pharmacy <a href=http://tulipgroup.in/sildenafil/>buy sildenafil 100mg</a> sildenafil citrate tablets pulmonary hypertension <a href=http://newman.com.gr/tadalafil/>buy tadalafil online no prescription</a> tadalafil in the uk <a href=http://www.defensivedriving.com.au/xanax/>xanax for sale</a> buy xanax 0.5mg online <a href=http://blog.memit.com/valium/>blog.memit.com/valium/</a> buy cheap valium in the uk <a href=http://www.ccmetal.com/ativan/>buy ativan online no prescription</a> apo-lorazepam sublingual 1mg <a href=http://tokdacasa.com.br/klonopin/>buy klonopin online no prescription</a> zoloft and klonopin drug interactions
Posted: Aug 20th, 02:23 by KBJnIGMKuK
[No subject]
Thank you so much! "fixed" my mp3 player.
Posted: Aug 11th, 14:00 by Anonymous
thanks alot
Posted: Aug 11th, 11:39 by upload file
thanks alot
Posted: Aug 11th, 11:38 by upload image
nice pic
nice one really great
Posted: Aug 6th, 16:54 by موقع مصرى
<a href=http://nncg.org/valium/>valium no prescription</a> buy roche valium in uk <a href=http://nncg.org/ambien/>ambien 10 mg</a> auxiliary label for ambien <a href=http://nncg.org/tramadol/>cheap tramadol</a> order tramadol 180 <a href=http://nncg.org/soma/>buy soma online</a> soma kamisori saddle <a href=http://www.fee.rs.gov.br/ambien/>buy ambien online</a> does ambien help you sleep <a href=http://isctt.utb.cz/tramadol50/>tramadol 50mg</a> will tramadol hcl show up on a drug test <a href=http://www.sivassrt.com/tramadol/>order tramadol online</a> tramadol to ease opiate withdrawal <a href=http://www.samfundetsterik.se/cheaptramadol/>cheap tramadol</a> tramadol 37.5 mg get you high <a href=http://www.airp-asso.it/tramadolnorx/>tramadol no prescription</a> tramadol hcl for dogs <a href=http://www.animamundi.it/genericsoma/>order soma</a> soma bras retail stores <a href=http://www.ciatec.mx/ordersoma/>buy soma</a> buy somatropin usa <a href=http://www.burylanguageschool.co.uk/cheapsoma/>cheap soma</a> what drug is soma classified as
Posted: Jul 27th, 19:32 by jhNEVqOhjj
RrIYs rzo ncmW
<a href=http://www.wgh.fi/buyxanax/>buy xanax</a> xanax xr inactive ingredients <a href=http://eatdrinkandbeskinny.com/buyxanaxonline/>buy xanax online</a> can xanax bars show up on a drug test <a href=http://goldfishlive.com/buyvalium/>diazepam 5mg</a> does valium have any side effects <a href=http://www.actualidadambiental.pe/buyvaliumonline/>buy valium online</a> long term effects of valium on dogs <a href=http://www.circus-maximus.org/buyambien/>ambien online</a> generic ambien not the same <a href=http://culturewars.com/buyambienonline/>generic zolpidem</a> qualitest brand ambien <a href=http://harrisonroadhouse.com/buytramadol/>buy tramadolВ 100mg</a> tramadol controlled substance schedule florida <a href=http://hil.in/buytramadolonline/>buy tramadolВ hcl</a> tramadol hcl 50 mg tablet ingredients <a href=http://www.habitatmendocino.org/buysoma/>soma medication</a> soma 350 mg to get high <a href=http://lkart.com/buysomaonline/>order soma</a> soma prescription drug abuse
Posted: Jul 3rd, 07:42 by INNaoXlvoX
neErL gwc GWbe
<a href=http://jipel.law.nyu.edu/blog/>buy xanax</a> can you reverse the effects of xanax <a href=http://himastron.as.itb.ac.id/pdf/>xanax depression</a> xanax withdrawal is hell <a href=http://www.stages.alternatives.ca/lib/>valium online</a> what is the pill valium used for <a href=http://ogrenci.aku.edu.tr/pdf/>valium online</a> can i buy valium in belize <a href=http://ungcancer.se/images/med/>buy ambien</a> apple iphone 4s ambient light sensor <a href=http://rrii.ubiobio.cl/mapas/sleep/>buy ambien online</a> zolpidem tartrate 10 mg tablet ambien <a href=http://blog.brickhousesecurity.com/pdf/>buy hydrocodone no prescription</a> hydrocodone bitartrate liquid <a href=http://www.oa.svitavy.cz/wp-content/blog/>buy hydrocodone</a> hydrocodone bitartrate with ibuprofen <a href=http://naszosie.pl/lib/>buy generic adderall</a> adderall xr 20 mg high <a href=http://usm.md/bb/pdf/>buy strattera</a> strattera dosage time
Posted: Jun 17th, 20:40 by rlHACxFErf
cdcwr PpJ vDxa
<a href=http://www.deserve-project.eu/buytramadol/>tramadol 50 mg tablets used</a> tramadol dosage sizes <a href=http://cub.ac.in/buytramadol/>can you purchase tramadol online legally</a> tramadol hcl 50 mg maximum dosage <a href=http://sjwest.org/xanax/>buy xanax online</a> how fast does xanax take to kick in <a href=http://www.intras.es/phocadownload/tramadol/>tramadol overnight shipping net</a> is tramadol 50 mg time released <a href=http://intendencia.gob.ni/buysoma/>cheap soma</a> kind drug soma classified <a href=http://pathwayinc.com/soma/>buy soma</a> soma medication info <a href=http://hci.ist.psu.edu/wp-content/lib/>buy tramadol online</a> tramadol 100 mg bijwerkingen <a href=http://houseinabox.com/med/>buy tramadol</a> tramadol hcl 25 mg <a href=http://monicabhide.com/app/>buy generic soma</a> order hgh somatropin <a href=http://keyora.com/wp-content/pdf/>buy ambien online</a> ambien price without insurance
Posted: Jun 11th, 01:32 by dhzcPswFhG
Page 1 of 203
Creative Commons License  Subscribe with Bloglines  Get Daily Wisdom!
This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License.
© 2000-2015 Jason Burgess