Skip to content

批量重命名 → 编辑名称时不使用 ANSI 编码 #89

@Dream4ever

Description

@Dream4ever

在用 Total Commander 的批量重命名 - 编辑名称时,Windows 默认使用自带的记事本程序来编辑名称,而记事本默认使用的是 ANSI 编码。

所以为了保证能够顺利重命名,就需要操作两遍,第一遍将 UTF-8 编码的文本保存为 ANSI 格式,第二遍则是将文本重新保存至 ANSI 格式的文本文件中,这样实在太麻烦。

用关键字 total commander batch rename notepad utf-8 ansi Google 了一遍,在 Multi-Rename Tool, Rename with file names in external files 一文中看到了解决办法:

在 Total Commander 配置文件 wincmd.ini[Configuration] 字段中,增加 RenameEditUnicode=1 这么一行,就能够保证文件名按正常的编码保存了。

另外再设置一下 txt 文件的默认打开程序为 Notepad++,而不是用默认的记事本,这样才能够保证上面的设置生效。

Metadata

Metadata

Assignees

No one assigned

    Labels

    SoftwareAbout installation ande usage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions