IPB

Welcome Guest ( Log In | Register )

> Magic sort order of DOS DIR command
DetlevD
post Mar 14 2008, 09:24
Post #1


Member


Group: Full Members
Posts: 5064
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.63



Magic sort order of DOS DIR command

This is output from Mp3tag Cover Export.

Yesterday I got following situation, see sort order of files, incorrect output on option /o-dne.
CODE
O:\TEST\COVERS>dir 1*.* /odne

13.03.2008  20:34             5.286 1.jpg
13.03.2008  20:34             7.813 1(1).jpg
13.03.2008  20:34             3.475 1(2).jpg
               3 Datei(en)         16.574 Bytes

O:\TEST\COVERS>dir 1*.* /o-dne

13.03.2008  20:34             7.813 1(1).jpg
13.03.2008  20:34             3.475 1(2).jpg
13.03.2008  20:34             5.286 1.jpg
               3 Datei(en)         16.574 Bytes


Today, with newly created files, I got following situation, see sort order of files, correct output on option /o-dne.
CODE
O:\TEST\COVERS>dir 1*.* /odne

14.03.2008  09:16             5.286 1.jpg
14.03.2008  09:16             7.813 1(1).jpg
14.03.2008  09:16             3.475 1(2).jpg
               3 Datei(en)         16.574 Bytes

O:\TEST\COVERS>dir 1*.* /o-dne

14.03.2008  09:16             3.475 1(2).jpg
14.03.2008  09:16             7.813 1(1).jpg
14.03.2008  09:16             5.286 1.jpg
               3 Datei(en)         16.574 Bytes


So what the heck is going on there?

DD.20080314.0924.CET

This post has been edited by DetlevD: Mar 14 2008, 19:39


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
LyricsLover
post Mar 14 2008, 17:34
Post #2


Member


Group: Full Members
Posts: 813
Joined: 21-September 06
From: Central Europe
Member No.: 3709
Mp3tag Version: 2.66



You could check the entire D (Date/Time). In my german DOS, the help shows the following explanation:
QUOTE ("german DOS")
D Datum/Zeit (ältere zuerst)

I think your files have some additional (but not visible) information in the time: The seconds.
Maybe this seconds make the difference in sort order?
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th December 2014 - 19:19