Overclockers Australia Forums
OCAU News - Wiki - QuickLinks - Pix - Sponsors  

Go Back   Overclockers Australia Forums > Software Topics > Windows Operating Systems

Notices


Sign up for a free OCAU account and this ad will go away!
Search our forums with Google:
Reply
 
Thread Tools
Old 30th August 2009, 12:55 PM   #1
ANTH101 Thread Starter
Member
 
Join Date: Apr 2004
Posts: 34
Default File arrangement

Hi, just wondering if there is a way to arrange files according to the name while ignoring the length of the file name?
E.G.
I have 3 files:
13.a, 1415.a, 16.a
I would like Windows to arrange them like this:
13.a
1415.a
16.a
However, Windows would arrange them like this:
13.a
16.a
1415.a
Any ideas?
ANTH101 is offline   Reply With Quote

Join OCAU to remove this ad!
Old 30th August 2009, 4:41 PM   #2
Catweazle
Member
 
Catweazle's Avatar
 
Join Date: Aug 2003
Location: Sale, Vic.
Posts: 1,105
Default

Nope. Make the filenames same length.

1300.a
1415.a
1600.a

..would work. Padding with zeros is what you need to do!

Last edited by Catweazle; 30th August 2009 at 4:43 PM.
Catweazle is offline   Reply With Quote
Old 30th August 2009, 6:43 PM   #3
ANTH101 Thread Starter
Member
 
Join Date: Apr 2004
Posts: 34
Default

Thanks for the suggestion but that would be too time consuming. Anyone else?
ANTH101 is offline   Reply With Quote
Old 30th August 2009, 7:40 PM   #4
MR CHILLED
D'oh!
 
MR CHILLED's Avatar
 
Join Date: Jan 2002
Location: Keep it up! :D
Posts: 90,095
Default

Cat's suggestion is good and valid for what you have posted.......you haven't mentioned how many files you need sorted like this? That's going to be vital in helping you.
__________________
Co2 is weightless apparently. Be careful what you vote for.
Howard on the economy: ''When the Prime Minister and the Treasurer and others tell you that the Australian economy is doing better than most – they are right,''
Asked how cash payments of baby bonus and school bonus are any different, Opposition Leader tony abbott says 'well look, they just are.'
MR CHILLED is offline   Reply With Quote
Old 30th August 2009, 7:57 PM   #5
Catweazle
Member
 
Catweazle's Avatar
 
Join Date: Aug 2003
Location: Sale, Vic.
Posts: 1,105
Default

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entversion\Policies\Explorer

Create a new DWORD called NoStrCmpLogical

Value of 1 gives the sort order you want (same as it was in Windows 2000). Value of 0 gives the sort order XP style, where larger numerical values come later in the sort order.


Edit:

By the way. If you want to make the change for just one user account rather than for all users of the machine, make that registry edit instead to:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntversion\Policies\Explorer

Last edited by Catweazle; 30th August 2009 at 8:05 PM.
Catweazle is offline   Reply With Quote
Old 31st August 2009, 6:03 PM   #6
FLB
Member
 
FLB's Avatar
 
Join Date: Jan 2003
Location: Adelaide
Posts: 3,289
Default

For those interested this is the MS KB that mentions the above changes to the registry.

http://support.microsoft.com/kb/319827
__________________
I've got some computers :P
FLB is offline   Reply With Quote
Old 2nd September 2009, 7:00 PM   #7
ANTH101 Thread Starter
Member
 
Join Date: Apr 2004
Posts: 34
Default

thanks Catweazle, works like a charm
ANTH101 is offline   Reply With Quote
Reply

Bookmarks

Tags
arrangement, file

Sign up for a free OCAU account and this ad will go away!

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time now is 11:49 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. -
OCAU is not responsible for the content of individual messages posted by others.
Other content copyright Overclockers Australia.
OCAU is hosted by Internode!