files sorting question

L

lisztfr

Hi,

i can't figure this ou, i mean : explorer will sort files
like this :

p1.rtf
p2.rtf
..
..
..
p9.rtf

but then p101 will be set far before p9,
i mean

p1.rtf
p100.rtf
...
...
...
p8.rtf


So all my pages are mixed up and in a order that make it
difficult to merge them automatically.
Explorer is not aware of numbers, only of digit....not aware
that 10 is greater than 9. how could i retreive the correct sorting,
by page number ? sorting by date is not a good idea.
It may be a very newbie question, sorry

laurent
 
A

Azzman

Hi,

i can't figure this ou, i mean : explorer will sort files
like this :
snip

p1.rtf
p100.rtf
..
..
..
p8.rtf


So all my pages are mixed up and in a order that make it
difficult to merge them automatically.
Explorer is not aware of numbers, only of digit....not aware
that 10 is greater than 9. how could i retreive the correct sorting,
by page number ? sorting by date is not a good idea.

Name your files p0001.rtf, p0002.rtf, etc.
There might be a rename program out there that's capable of renaming your
existing files for you.
BTW, don't apologize for a question, that's what usenet is for, doesn't
matter if you're a newbie or expert on the subject.
HTH
 
F

Franklin

So all my pages are mixed up and in a order that make it
difficult to merge them automatically.
Explorer is not aware of numbers, only of digit....not aware
that 10 is greater than 9. how could i retreive the correct
sorting, by page number ? sorting by date is not a good idea.
It may be a very newbie question, sorry

XP should sort by numeric value (as you require) automatically.

http://support.microsoft.com/kb/319827/ says:

"By default, in Windows XP and Windows 2003 Server
numerals in strings that are contained in file and
folder names are considered to be numeric content,
not text. Numerals in folder and file names are
sorted according to their numeric value."

Check "NoStrCmpLogical" is missing or is zero in the following
registry key:

HKCU\Software\Microsoft\Windows\Currentversion\Policies\Explorer

I find that some apps ignore the XP sort method and impose the old
sequence which is what you refer to. Maybe they have their own
internal code for sorting.
 
D

Dick Shenary

On 23 Dec 2005 04:53:23 -0800, "lisztfr"

how could i retreive the correct sorting,
by page number ? sorting by date is not a good idea.
It may be a very newbie question, sorry

laurent

If you are using Windows XP set your choice of ordering within TweakUI
2.10.0.0 under the "explorer" tab.
 
E

endbbnm

Hello I have just started learning about networking-can you explain
this -
There's no place like 127.0.0.1

I know that 127 is the last usable for a class A address- I know that
this is OT but can you recommend any sites/books for passing CCNA 1/2?
Merry Christmas dude/
btw is it a ref to Wizard of Oz?
 
R

Rth2nd

Yes. You remember when Dorothy clicked her heels together and chanted
"There's no place like localhost, there's no place like local
hos..................................
 
D

David

Hi,

i can't figure this ou, i mean : explorer will sort files
like this :

p1.rtf
p2.rtf
.
.
.
p9.rtf

but then p101 will be set far before p9,
i mean

p1.rtf
p100.rtf
..
..
..
p8.rtf


So all my pages are mixed up and in a order that make it
difficult to merge them automatically.
Explorer is not aware of numbers, only of digit....not aware
that 10 is greater than 9. how could i retreive the correct sorting,
by page number ? sorting by date is not a good idea.
It may be a very newbie question, sorry

laurent

Name your pages as

p001.rtf
p002.rtf
etc.

They will then sort correctly on any alphabetic sort. Dates need to be
in the form yyyymmdd to sort into date order.
--
David
Remove "farook" to reply
At the bottom of the application where it says
"sign here". I put "Sagittarius"
E-mail: justdas at iinet dot net dot au
 
D

dadiOH

lisztfr said:
Hi,

i can't figure this ou, i mean : explorer will sort files
like this :

p1.rtf
p2.rtf
.
.
.
p9.rtf

but then p101 will be set far before p9,
i mean

That is because the names are sorted acording to the ASCII values of the
characters, not the visual representation of the values (the characters
themselves). Look up the ASCII values for your examples and you'll see
what I mean.

--
dadiOH
____________________________

dadiOH's dandies v3.06...
....a help file of info about MP3s, recording from
LP/cassette and tips & tricks on this and that.
Get it at http://mysite.verizon.net/xico
 
L

lisztfr

Thanks for the replies guys, i'm under windows me btw.
This naming method starting with 0001 seems ok. I also allready
use a nice rename program called Siren. There are not a lot,
and this is good.

laurent
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top