0

所以我有一个大的 unrar 工作。这是目录的布局:

MAIN DIR
    SUBFOLDER
        file1.rar
        file1.r00
        file1.r01

最终结果是:

MAIN DIR
    SUBFOLDER
        extracted.file

为了完善这一点,它还将删除.rar文件并将其重命名extracted.file为子文件夹的名称,如果可能的话,那将是很棒的。

4

1 回答 1

0
del *.r*
ren extracted.file %~dp0.*

Maybe best to prompt to delete the *.r* files (del *.r* /p) before doing it automatically, just to make sure there are no others that you want to keep (as long as it only contains rar files then it should be fine).

于 2012-12-18T12:26:48.653 回答