|
DOSforever
金牌会员
     
积分 4639
发帖 2239
注册 2005-1-30
状态 离线
|
|
2009-5-30 13:13 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
这种排序有什么用?
What is the use of this kind of sorting?
|
|
2009-5-30 14:20 |
|
|
DOSforever
金牌会员
     
积分 4639
发帖 2239
注册 2005-1-30
状态 离线
|
|
2009-5-30 14:28 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
Originally posted by DOSforever at 2009-5-30 02:28 PM:
有时候有用。先告诉我有没有这样的软件,然后我再说有什么用,呵呵。
windows下只听说对mp3播放器中音乐文件进行FAT表排序的软件,其它没听说过。
我想这种排序也只有对播放器中才有用吧?
Originally posted by DOSforever at 2009-5-30 02:28 PM:
Sometimes useful. First tell me if there is such software, then I'll tell you what it's used for, heh heh.
Only heard of software for FAT table sorting of music files in MP3 players under Windows, nothing else heard of.
I think this kind of sorting is only useful for players, right?
|
|
2009-5-31 07:09 |
|
|
DOSforever
金牌会员
     
积分 4639
发帖 2239
注册 2005-1-30
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
哦?mp3播放器倒能对音乐文件进行FAT表排序?这我倒从来没听说过。mp3播放器要对音乐文件进行物理排序干什么?FAT 怎么个排序法?把需要的文件移得靠前一点?就像 SPEEDISK 能做的那样?
我的具体用处现在一时也想不起来了,反正以前在逐个处理文件的时候遇到了奇怪问题,以下说明可能就是我遇到的问题原因,但我不是遇到和它相同的问题
When you use wildcards to specify set, FOR scans the directory and finds each file which matches the wildcard name(s) you specified. If, during the processing of the FOR command, you create a new file that could be included in set, it may or may not appear in a some later iteration of the same FOR command. Whether or not the new file appears depends on its physical location in the directory structure. For example, if you use FOR to execute a command for all .TXT files, and the command also creates one or more new .TXT files, those new files may or may not be processed during the current FOR command, depending on where they are placed in the physical structure of the directory. This is a Windows constraint over which the command processor has no control. Therefore, in order to achieve consistent results you should construct FOR commands which do not create files that could become part of set for the current command.
还有,Windows 98 的『开始』->『程序』->『启动』项中的加载顺序就和 FDT 中的物理顺序有关,Windows NTs 的没试过,不清楚。
反正我觉得仅仅是显示的排序还不够,有时候还是要物理排序才好。
Oh? An MP3 player can sort music files by the FAT table? I've never heard of that before. Why does an MP3 player need to physically sort music files? How does FAT sort? Move the needed files to the front? Just like what SPEEDISK can do?
I can't think of my specific use right now. Anyway, I encountered a strange problem when dealing with files one by one before. The following description might be the reason for my problem, but I didn't encounter the same problem
When you use wildcards to specify set, FOR scans the directory and finds each file which matches the wildcard name(s) you specified. If, during the processing of the FOR command, you create a new file that could be included in set, it may or may not appear in a some later iteration of the same FOR command. Whether or not the new file appears depends on its physical location in the directory structure. For example, if you use FOR to execute a command for all .TXT files, and the command also creates one or more new .TXT files, those new files may or may not be processed during the current FOR command, depending on where they are placed in the physical structure of the directory. This is a Windows constraint over which the command processor has no control. Therefore, in order to achieve consistent results you should construct FOR commands which do not create files that could become part of set for the current command.
Also, the loading order in the 'Start' -> 'Programs' -> 'Startup' item in Windows 98 is related to the physical order in FDT. I haven't tried Windows NTs, so I don't know.
Anyway, I think just display sorting is not enough. Sometimes physical sorting is better.
|

DOS倒下了,但永远不死
DOS NEVER DIES !
投票调查:
http://www.cn-dos.net/forum/viewthread.php?tid=46187
本人尚未解决的疑难问题:
http://www.cn-dos.net/forum/viewthread.php?tid=15135
http://www.cn-dos.net/forum/viewthread.php?tid=47663
http://www.cn-dos.net/forum/viewthread.php?tid=48747 |
|
2009-5-31 10:00 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
一些较老的mp3播放器比较笨,播放顺序是按照FAT表中文件次序播放的,所以就有人写了FAT表排序软件
另外,你说的启动加载项,似乎现在很少把加载项放到『开始』->『程序』->『启动』,而是直接在注册表的自动运行项中了,加载顺序取决于注册表顺序
Some older MP3 players are rather stupid. The playback order is according to the file order in the FAT table. So someone wrote a FAT table sorting software.
In addition, the startup items you mentioned. It seems that now people rarely put the items into "Start" -> "Programs" -> "Startup", but directly in the auto-run items of the registry. The loading order depends on the registry order.
|
|
2009-6-1 06:21 |
|
|
DOSforever
金牌会员
     
积分 4639
发帖 2239
注册 2005-1-30
状态 离线
|
|
2009-6-1 08:09 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
Originally posted by DOSforever at 2009-6-1 08:09 AM:
当然,『启动』项只是我举个例子,我主要说的是另外一个原因。
你的另外原因是指for循环?
你确定nt的cmd环境下,for循环顺序还是按FAT表次序来循环的?
Originally posted by DOSforever at 2009-6-1 08:09 AM:
Of course, the "Startup" item is just an example I gave. What I mainly talk about is another reason.
Is your other reason referring to the for loop?
Are you sure that under the nt cmd environment, the for loop order is still cycled according to the FAT table order?
|
|
2009-6-2 04:55 |
|
|
DOSforever
金牌会员
     
积分 4639
发帖 2239
注册 2005-1-30
状态 离线
|
|
2009-6-2 11:19 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
Originally posted by DOSforever at 2009-6-2 11:19 AM:
是的,FOR 命令是个主要原因,还有别的问题,我一时想不起来了,总之,我喜欢是自然排序,而不是“伪装”排序。
有一点要注意的是,我说的是 F ...
对的,我前面没说清楚,是目录项排序
不过这种排序应该只对fat分区有用,ntfs分区不存在此概念
Originally posted by DOSforever at 2009-6-2 11:19 AM:
Yes, the FOR command is a main reason, and there are other issues, I can't remember for a moment. In short, I like natural sorting instead of "pretended" sorting.
There is one thing to note is that what I said is directory entry sorting
But this kind of sorting should only be useful for FAT partitions, and NTFS partitions do not have this concept
|
|
2009-6-3 08:37 |
|
|
DOSforever
金牌会员
     
积分 4639
发帖 2239
注册 2005-1-30
状态 离线
|
|
2009-6-3 09:02 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
Originally posted by DOSforever at 2009-6-3 09:02 AM:
呵呵,我就知道你会把 NTFS 搬出来。是的,虽然在 NTFS 中不叫 FDT ,但也应该有个相似的概念,总有一个目录项先后排列的顺序。
现在这个无关紧要 ...
现在貌似没有这种软件,以前那个给mp3排序的软件也忘了叫什么了
Originally posted by DOSforever at 2009-6-3 09:02 AM:
Hehe, I knew you'd bring up NTFS. Yes, although it's not called FDT in NTFS, there should be a similar concept. There's always an order in which directory entries are arranged.
Now this is not important...
Now it seems there is no such software, and I forgot the name of the software that sorted mp3s before
|
|
2009-6-4 04:59 |
|