论文部分内容阅读
前一段使用Internet时,我偶然遇到需要按照连续数字的顺序重命名目录中文件的请求。在过去的几年中,该问题及其它与数字序列类似的请求曾多次出现。虽然我成功地设计了完成文件重命名任务的过程,但对于该结果的复杂程度仍不甚满意。然而最终我找到了自认为针对该问题的高级解决策略。在此过程中,我发现了可用于各种任务产生编号序列的极其有用的技巧。 图1所示批文件COUNT.BAT解释
When I used the Internet for the previous period, I stumbled upon a request to rename files in the directory in order of consecutive numbers. In the past few years, this issue, along with other requests that are analogous to numerical sequences, has appeared many times. Although I have successfully designed the process of completing the file rename task, I am not satisfied with the complexity of the result. In the end, however, I found an advanced solution strategy that I thought would address the issue. In the process, I found extremely useful tips that can be used to generate numbered sequences for a variety of tasks. The batch file COUNT.BAT shown in Figure 1 explains