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).

30041 responses to FAT Sorter v1.0.4

Page 1 of 203
"There certainly [was] no intent on my part for anything to
"There certainly [was] no intent on my part for anything to be like this. It didn't need to be like this," he said.But he said he was working on a plan for the pension scheme, which was in surplus when he bought BHS but now has a £571m deficit. replica rolex "We want to find a solution for the 20,000 pensioners," he said. "It's current and in motion." He took blame for the omega replica pensions "mess", saying: "It's my fault".Sir Philip told MPs the new plan, being drawn up by Deloitte, would offer BHS pensioners a "better outcome" than compensation available from the Pension Protection Fund, a lifeboat scheme that helps finance mulberry outlet pensions when companies go bustHowever, he declined to give more details of the plan. When asked if it meant scheme members would receive the pensions due before the collapse, Sir Philip said: "We are trying to fix this mess."He rejected suggestions that he replica watches uk had sucked money out of BHS. Sir Philip told MPs that his Arcadia retail empire had invested £800m in BHS in an attempt to turn around a business that "structurally was in the wrong shape".
Posted: Jun 15th, 22:53 by replica handbags
http://www.ray-bansunglassessite.net/ Ray-Ban Sunglasses\nhttp://www.nikeoutletfactorystore.com/ Nike Factory Outlet\nhttp://www.longchamp--outlet.com/ Longchamp Outlet\nhttp://www.nikeflyknit.org/ Nike Flyknit Air Max\nhttp://www.oakleysunglassesoutlet.name/ Oakley Sunglasses\nhttp://www.oakleyoutletstore.net.co/ Oakley Outlet \nhttp://www.tomsoutletstore.org/ Toms Outlet\nhttp://www.ralphlaurenoutletstoreonline.com/ Polo Ralph Lauren Outlet\nhttp://www.katespadeoutletsstore.com/ Kate Spade Outlet\nhttp://www.air-max2015.org/ Nike Air Max 2015\nhttp://www.adidasoutletstore.org/ Adidas Outlet Store\nhttp://www.nikeoutletsstore.com/ Nike Outlet\nhttp://www.yeezyboost.org/ Yeezy Boost\nhttp://www.katespade-outlet.org/ Kate Spade Outlet\nhttp://www.airmax2016.us.com/ Air Max\nhttp://www.timberland-boots.me.uk/ Timberland Outlet\nhttp://www.raybanoutletsunglasses.net/ Rayban Outlet\nhttp://www.burberryoutletstoreonline.org/ Burberry Outlet Online\nhttp://www.adidasyeezyboost350.org/ Yeezy Boost 350\nhttp://www.poloralphlaurenoutlets.us.com/ Polo Ralph Lauren Outlet\nhttp://www.adidasnmd.us.com/ Adidas NMD\nhttp://www.yeezy-shoes.us.com/ Yeezy Shoes\nhttp://www.nfljerseys.us/ NFL Jerseys\nhttp://www.yeezyboost350.us.com/ Yeezy Boost 350
Posted: Apr 16th, 21:50 by Adidas NMD
Fat Sorter
Downloaded application and applied the sorter....No change in the stick, alphabetically, but in reverse order as it was before using the sorter...How do I get this stick A toZ? Joe G
Posted: Feb 3rd, 07:21 by Anonymous
Latest install
Sexual pictures \n teen minxs free fat cock movies gay mp3 neveen bad girls club chris martin young \nhttp://japan.erolove.in/?profile.nia \n arzu okay xxx pictures thai crackdown great zoo sex videos von gay kindersex bondage video free download stuck on a truck, toad suck xxx incest molestation outdoor canopy's with hard roofs
Posted: Jan 31st, 11:13 by jacobhg16
New Poke out
Social pictures \n animated boob bouncing gifs film massage gay indian porn video small breast pictures red head destroyed cock \nhttp://teen.erolove.in/?page.nya \n videos de secretarias teniendo sexo indian sex movies indian hentai 3d 2 - cry of pleasure 2.056.001 hjk helsinki foot erected little boys teen masturbation clips star spangled banner duet sheet music red headed porn
Posted: Jan 24th, 22:10 by hillaryqp2
Victor worked for Aspen Commercial Security and has been continually grateful for the knowledge they have shared with him. Here
Victor worked for Aspen Commercial Security and has been continually grateful for the knowledge <br />\nthey have shared with him. Here are several things you are able <br />\nto do to prevent these types of situations:.<br />\n<br />\nOnly the pins and tumblers of the locks are replaced, thereby invalidating existing keys.
Posted: Dec 22nd 2015, 02:12 by Victor worked for Aspen Commercial Security a
[No subject]
It works perfectly on my LG stereo system! THANK YOU!!!
Posted: Oct 29th 2015, 10:33 by Anonymous
Works great!
A simple tool that does exactly what I need to prepare USB sticks for my children!
Posted: Oct 11th 2015, 14:07 by Jens
[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 2015, 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 2015, 23:21 by Awaomus
anastrozole generic price
anastrozole buy online uk <a href=http://gtcceafaggsd.com>Smeaphyb</a>, anastrozole blogs
Posted: Sep 18th 2015, 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 2015, 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 2015, 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 2015, 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 2015, 02:23 by KBJnIGMKuK
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-2016 Jason Burgess