Fenux.Net - The Life of a Geek
FAT Sorter v1.0.4
Coding
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).

20968 responses to FAT Sorter v1.0.4

Page 1 of 198
payday loans
iqwagxv
Posted: Oct 19th, 15:28 by payday loans
payday loans
qhrujby
Posted: Oct 19th, 05:37 by payday loans
[No subject]
http://www.shopbestgoods.com/<br />\nhttp://www.nike-jordanshoes.com/<br />\nhttp://www.beatsbydreoutlet.net/<br />\nhttp://www.michaelkorsus.com/<br />\nhttp://www.polo-tshirts.com/<br />\nhttp://www.northsclearance.com/<br />\nhttp://www.ralph-laurensale.com/<br />\nhttp://www.gucci-shoesuk2014.com/<br />\nhttp://www.michael-korsusa.com/<br />\nhttp://www.polo-outlets.com/<br />\nhttp://www.ralphslauren.co.uk/<br />\nhttp://www.marcjacobsonsale.com/<br />\nhttp://www.mcmworldwides.com/<br />\nhttp://www.salongchamppairs.com/<br />\nhttp://www.canada-gooser.com/<br />\nhttp://www.burberryoutlet2014.com/<br />\nhttp://www.michaelkors.so/<br />\nhttp://www.hermes-outletonline.com/<br />\nhttp://www.oakley-sunglassoutlet.com/<br />\nhttp://www.north-faceoutlets.net/<br />\nhttp://www.louisvuittonas.com/<br />\nhttp://www.moncler-clearance.com/<br />\nhttp://www.woolrich-clearance.com/<br />\nhttp://www.barbour-jacketsoutlet.com/<br />\nhttp://www.moncler-jacketsoutletonline.com/<br />\nhttp://www.monsterbeatsbydres.net/<br />\nhttp://www.louis-vuittonblackfriday.com/<br />\nhttp://www.lv-guccishoesfactory.com/<br />\nhttp://www.mcmoutlet-jp.com/<br />\nhttp://www.cheapdiscountoutlet.com/<br />\nhttp://coachoutlet.iwopop.com/<br />\nhttp://www.coachsfactoryoutlet.com/<br />\nhttp://www.coach-blackfriday2014.com/<br />\nhttp://www.coach-storeoutletonline.com/<br />\nhttp://www.coach-factorysoutletonline.com/<br />\nhttp://www.coachccoachoutlet.com/<br />\nhttp://www.coach-factories.net/<br />\nhttp://www.louisvuittonas.com/<br />\nhttp://www.coach-pursesoutletonline.com/<br />\nhttp://www.llouisvuitton-factory.net/<br />\nhttp://www.coach-outletsusa.com/<br />\nhttp://www.mksfactoryoutlet.com/<br />\nhttp://www.zxcoachoutlet.com/<br />\nhttp://www.mischristmas.com/<br />\nhttp://www.misblackfriday.com/<br />\nhttp://www.bestcustomsonline.com/<br />\nhttp://www.newoutletonlinemall.com/<br />\nhttp://www.clickmichaelkors.com/<br />\nhttp://www.cmichaelkorsoutlet.com/<br />\nhttp://www.ralphlaurenepolo.com/ <br />\nhttp://michaelkorsoutlet.mischristmas.com/<br />\nhttp://mcmbackpack.mischristmas.com/<br />\nhttp://monsterbeats.mischristmas.com/<br />\nhttp://northfaceoutlet.mischristmas.com/<br />\nhttp://mk.misblackfriday.com/<br />\nhttp://coachoutlet.misblackfriday.com/<br />\nhttp://coachfactory.misblackfriday.com/<br />\nhttp://uggaustralia.misblackfriday.com/<br />\nhttp://coachpurses.misblackfriday.com/<br />\nhttp://coachusa.misblackfriday.com/<br />\nhttp://coach.misblackfriday.com/<br />\nhttp://michaelkorss.misblackfriday.com/<br />\nhttp://michaelkors.misblackfriday.com/<br />\nhttp://airmax.misblackfriday.com/<br />\nhttp://michael-kors.misblackfriday.com/ <br />\nhttp://t.co/1PJuejI1ys<br />\nhttp://t.co/FYm2MxWwLM<br />\nhttps://twitter.com/CoachOutlet2014<br />\nhttps://www.facebook.com/pages/Coach-Factory-Outlet-Online-Store-Michael-Kors-Outlet-Online-Sale-75-Off/712060898859091<br />\nhttps://www.facebook.com/ralphlaurenoutletonline
Posted: Oct 7th, 03:48 by polo
[No subject]
http://www.shopbestgoods.com/\nhttp://www.nike-jordanshoes.com/\nhttp://www.beatsbydreoutlet.net/\nhttp://www.michaelkorsus.com/\nhttp://www.polo-tshirts.com/\nhttp://www.northsclearance.com/\nhttp://www.ralph-laurensale.com/\nhttp://www.gucci-shoesuk2014.com/\nhttp://www.michael-korsusa.com/\nhttp://www.polo-outlets.com/\nhttp://www.ralphslauren.co.uk/\nhttp://www.marcjacobsonsale.com/\nhttp://www.mcmworldwides.com/\nhttp://www.salongchamppairs.com/\nhttp://www.canada-gooser.com/\nhttp://www.burberryoutlet2014.com/\nhttp://www.michaelkors.so/\nhttp://www.hermes-outletonline.com/\nhttp://www.oakley-sunglassoutlet.com/\nhttp://www.north-faceoutlets.net/\nhttp://www.louisvuittonas.com/\nhttp://www.moncler-clearance.com/\nhttp://www.woolrich-clearance.com/\nhttp://www.barbour-jacketsoutlet.com/\nhttp://www.moncler-jacketsoutletonline.com/\nhttp://www.monsterbeatsbydres.net/\nhttp://www.louis-vuittonblackfriday.com/\nhttp://www.lv-guccishoesfactory.com/\nhttp://www.mcmoutlet-jp.com/\nhttp://www.cheapdiscountoutlet.com/\nhttp://coachoutlet.iwopop.com/\nhttp://www.coachsfactoryoutlet.com/\nhttp://www.coach-blackfriday2014.com/\nhttp://www.coach-storeoutletonline.com/\nhttp://www.coach-factorysoutletonline.com/\nhttp://www.coachccoachoutlet.com/\nhttp://www.coach-factories.net/\nhttp://www.louisvuittonas.com/\nhttp://www.coach-pursesoutletonline.com/\nhttp://www.llouisvuitton-factory.net/\nhttp://www.coach-outletsusa.com/\nhttp://www.mksfactoryoutlet.com/\nhttp://www.zxcoachoutlet.com/\nhttp://www.mischristmas.com/\nhttp://www.misblackfriday.com/\nhttp://www.bestcustomsonline.com/\nhttp://www.newoutletonlinemall.com/\nhttp://www.clickmichaelkors.com/\nhttp://www.cmichaelkorsoutlet.com/\nhttp://www.ralphlaurenepolo.com/ \nhttp://michaelkorsoutlet.mischristmas.com/\nhttp://mcmbackpack.mischristmas.com/\nhttp://monsterbeats.mischristmas.com/\nhttp://northfaceoutlet.mischristmas.com/\nhttp://mk.misblackfriday.com/\nhttp://coachoutlet.misblackfriday.com/\nhttp://coachfactory.misblackfriday.com/\nhttp://uggaustralia.misblackfriday.com/\nhttp://coachpurses.misblackfriday.com/\nhttp://coachusa.misblackfriday.com/\nhttp://coach.misblackfriday.com/\nhttp://michaelkorss.misblackfriday.com/\nhttp://michaelkors.misblackfriday.com/\nhttp://airmax.misblackfriday.com/\nhttp://michael-kors.misblackfriday.com/ \nhttp://t.co/1PJuejI1ys\nhttp://t.co/FYm2MxWwLM\nhttps://twitter.com/CoachOutlet2014\nhttps://www.facebook.com/pages/Coach-Factory-Outlet-Online-Store-Michael-Kors-Outlet-Online-Sale-75-Off/712060898859091\nhttps://www.facebook.com/ralphlaurenoutletonline
Posted: Oct 7th, 03:46 by polo
[No subject]
http://www.shopbestgoods.com/<br />\nhttp://www.nike-jordanshoes.com/<br />\nhttp://www.beatsbydreoutlet.net/<br />\nhttp://www.michaelkorsus.com/<br />\nhttp://www.polo-tshirts.com/<br />\nhttp://www.northsclearance.com/<br />\nhttp://www.ralph-laurensale.com/<br />\nhttp://www.gucci-shoesuk2014.com/<br />\nhttp://www.michael-korsusa.com/<br />\nhttp://www.polo-outlets.com/<br />\nhttp://www.ralphslauren.co.uk/<br />\nhttp://www.marcjacobsonsale.com/<br />\nhttp://www.mcmworldwides.com/<br />\nhttp://www.salongchamppairs.com/<br />\nhttp://www.canada-gooser.com/<br />\nhttp://www.burberryoutlet2014.com/<br />\nhttp://www.michaelkors.so/<br />\nhttp://www.hermes-outletonline.com/<br />\nhttp://www.oakley-sunglassoutlet.com/<br />\nhttp://www.north-faceoutlets.net/<br />\nhttp://www.louisvuittonas.com/<br />\nhttp://www.moncler-clearance.com/<br />\nhttp://www.woolrich-clearance.com/<br />\nhttp://www.barbour-jacketsoutlet.com/<br />\nhttp://www.moncler-jacketsoutletonline.com/<br />\nhttp://www.monsterbeatsbydres.net/<br />\nhttp://www.louis-vuittonblackfriday.com/<br />\nhttp://www.lv-guccishoesfactory.com/<br />\nhttp://www.mcmoutlet-jp.com/<br />\nhttp://www.cheapdiscountoutlet.com/<br />\nhttp://coachoutlet.iwopop.com/<br />\nhttp://www.coachsfactoryoutlet.com/<br />\nhttp://www.coach-blackfriday2014.com/<br />\nhttp://www.coach-storeoutletonline.com/<br />\nhttp://www.coach-factorysoutletonline.com/<br />\nhttp://www.coachccoachoutlet.com/<br />\nhttp://www.coach-factories.net/<br />\nhttp://www.louisvuittonas.com/<br />\nhttp://www.coach-pursesoutletonline.com/<br />\nhttp://www.llouisvuitton-factory.net/<br />\nhttp://www.coach-outletsusa.com/<br />\nhttp://www.mksfactoryoutlet.com/<br />\nhttp://www.zxcoachoutlet.com/<br />\nhttp://www.mischristmas.com/<br />\nhttp://www.misblackfriday.com/<br />\nhttp://www.bestcustomsonline.com/<br />\nhttp://www.newoutletonlinemall.com/<br />\nhttp://www.clickmichaelkors.com/<br />\nhttp://www.cmichaelkorsoutlet.com/<br />\nhttp://www.ralphlaurenepolo.com/ <br />\nhttp://michaelkorsoutlet.mischristmas.com/<br />\nhttp://mcmbackpack.mischristmas.com/<br />\nhttp://monsterbeats.mischristmas.com/<br />\nhttp://northfaceoutlet.mischristmas.com/<br />\nhttp://mk.misblackfriday.com/<br />\nhttp://coachoutlet.misblackfriday.com/<br />\nhttp://coachfactory.misblackfriday.com/<br />\nhttp://uggaustralia.misblackfriday.com/<br />\nhttp://coachpurses.misblackfriday.com/<br />\nhttp://coachusa.misblackfriday.com/<br />\nhttp://coach.misblackfriday.com/<br />\nhttp://michaelkorss.misblackfriday.com/<br />\nhttp://michaelkors.misblackfriday.com/<br />\nhttp://airmax.misblackfriday.com/<br />\nhttp://michael-kors.misblackfriday.com/ <br />\nhttp://t.co/1PJuejI1ys<br />\nhttp://t.co/FYm2MxWwLM<br />\nhttps://twitter.com/CoachOutlet2014<br />\nhttps://www.facebook.com/pages/Coach-Factory-Outlet-Online-Store-Michael-Kors-Outlet-Online-Sale-75-Off/712060898859091<br />\nhttps://www.facebook.com/ralphlaurenoutletonline
Posted: Oct 7th, 03:46 by polo
payday loans
vuwixaw
Posted: Oct 6th, 07:07 by payday loans
DSdjGihZyvmMfxReOlR
<a href=http://traclabs.com/psd/buytramadol/#09a>tramadol online no prescription</a> tramadol hcl 50 mg cost - buy-cheap-tramadol.org
Posted: Sep 24th, 06:41 by VFICO
bad credit personal loans
bnbubg
Posted: Sep 11th, 02:24 by bad credit personal loans
hello
iijtflf [url=http://rrixgb.com/]ncdhwpce[/url]
Posted: Aug 1st, 15:38 by hello
hello
csvgrv http://unanom.com/ <a href="http://hlpdeh.com/ ">vgznget</a> [url=http://liaqmm.com/]vgznget[/url]
Posted: Jul 31st, 21:03 by hello
aqxrnpqq
mwwfizuk
Posted: Jul 30th, 17:40 by aqxrnpqq
tqyejwe mnhills
Beware of computer programmers that carry screwdrivers.
Posted: Jul 14th, 23:36 by Viagria vs cialis
rgfiwid bpwower
Fill what's empty, empty what's full, and scratch where it itches.
Posted: Jul 14th, 07:08 by Cheap cialis
hfxhymh eafckli
UNIX is simple. It just takes a genius to understand its simplicity.
Posted: Jul 13th, 20:13 by Tadalafil cialis from india
taidcwa pljvfui
Java: the elegant simplicity of C++ and the blazing speed of Smalltalk.
Page 1 of 198
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-2014 Jason Burgess