Directory Opus
GitHub用户脚本Telegram 群
  • 主页
  • 文件浏览
    • 文件窗口
      • 默认窗口
      • 工具栏
        • 收藏栏
    • 多文件夹
      • 单窗口模式
      • 标签页
      • 双栏
      • 来源和目标
    • 查看
      • 列表
        • 列
        • 排序
        • 分组
        • 视图
          • 详细视图
          • 缩略图
          • 平面视图
        • 标记
        • 选择
          • 复选框
        • 即时查找
      • 信息提示
      • 查看器
      • 文件夹格式
    • 导航
      • 地址栏
      • 文件夹树
      • 收藏夹
      • 别名
    • 文件对话框
    • 终端
  • 文件搜索
  • 文件操作
    • 文件创建
    • 文件移动
    • 文件复制
    • 重命名
    • 剪贴板
    • 上下文菜单
    • 拖放
    • 安全
  • 文件类型
    • 元数据
    • 压缩包
    • 图片
      • ICO
      • SVG
    • 文档
      • 纯文本
      • 代码
      • Markdown
      • Word 文档
      • PDF
      • 网页
    • 表格
      • Excel 表格
      • 数据库
    • 幻灯片
    • 模型
    • 种子
    • 邮件
  • Directory Opus
    • 配置
      • 主题
    • 命令
      • 命令
      • 外部控制码
      • 修饰符
      • 内置命令
    • 脚本
      • 变量
    • 更新日志
  • 官方手册
    • 目录
    • 版权
    • 许可证
      • 最终用户许可条件
      • 批量许可条件
    • 致谢
    • 简介
    • 基本概念
      • 启动 Opus
      • 文件窗口
        • 打开文件窗口
        • 默认文件窗口
        • 导航
          • 主文件夹
          • 上、前进、后退
          • 文件树
          • 地址栏
            • 路径字段
          • 驱动按钮和下拉菜单
          • 收藏夹
          • 智能收藏夹
          • 最近和历史列表
          • 别名
          • 成对文件夹
        • 标签
          • 标签切换器
          • 锁定标签页
          • 关联标签页
          • 标签组
        • 视图模式
        • 双栏
          • 导航锁定
        • 工具栏
          • 默认工具栏
            • 菜单工具栏
            • 操作工具栏
            • 收藏栏
            • 文件列表工具栏
            • “图像”工具栏
          • 动态工具栏
          • 工具栏集
        • 即时查找字段
        • 查看器窗格
        • 元数据窗格
        • 实用程序面板
        • 布局
        • 样式
        • 主题
          • 创建自己的主题
        • 状态栏
      • 资源管理器替换模式
      • 源目录和目标目录
      • 选择文件
        • 使用鼠标和键盘进行选择
          • 单击模式
          • 复选框模式
        • 简单通配符选择
        • 高级选择
        • 选择单元格
      • 搜索和过滤
        • 过滤栏
        • 显示所有内容
        • 工具栏过滤项
        • 快速搜索
        • 查找文件
          • 简易查找
          • 高级查找
      • 排序和分组
        • 手动排序
      • 文件夹格式
        • 文件夹格式对话框
          • 列
            • 冻结列
          • 排序
          • 分组
          • 显示
          • 过滤器
        • 已保存文件夹格式
        • 自动记住格式
        • 内容类型
        • 确定当前格式
        • 锁定格式
      • 可展开文件夹
      • 平面视图
      • 文件夹大小
      • 虚拟文件系统
        • 系统虚拟文件夹
        • 文件集合
          • 存储的查询
        • 库
        • 压缩包
        • FTP
        • MTP
    • 文件操作
      • 复制、移动和删除文件
        • 复制和粘贴
        • 拖放
        • 使用工具栏按钮进行复制
          • 复制时使用通配符
        • 复制队列
          • 复制覆盖和幽灵文件
          • 无人值守操作
        • 作业栏
        • 确认文件替换对话框
        • 复制已更新文件
          • 同步
        • Deleting Files
          • 安全删除
      • 重命名文件
        • 内联重命名
        • 简单通配符重命名
        • 高级重命名
          • 重命名预设
          • 重命名模式
            • 标准通配符重命名
            • 查找和替换
            • 正则表达式
            • 正则表达式 + 查找并替换
          • 重命名操作
            • 文件编号
            • 重命名宏
          • 重命名选项
          • 使用元数据重命名
          • 重命名脚本
      • 创建文件夹
      • 创建压缩包
        • 添加到压缩包文件
        • 添加到压缩包对话框
          • Zip 选项
          • 7z 选项
          • RAR 选项
          • TAR BZip2 选项
          • TAR GZip 选项
        • Zip 文件
          • Zip 注释
          • 只读模式
          • 自解压 Zip 文件
      • 跟踪和撤销文件操作
      • 更改属性
      • 标记和状态图标
      • 编辑元数据
        • 文档属性
        • 图片属性
        • 音乐属性
          • 添加封套插图
        • 视频属性
        • 扩展属性
        • 元数据的编程设置
        • 时间偏移
      • 文件说明
      • 过滤操作
        • 过滤条款
        • 添加、删除和编辑子句
        • 过滤条款类型
        • 文本过滤器
      • UAC 和管理员模式
    • FTP
      • FTP 地址簿
        • 默认设置
        • 站点页
        • 网络页面
        • Display Page
        • 索引页面
        • 声音页面
        • 杂项页面
        • 速度页面
        • 特殊页面
        • 转账页面
        • 代理页面
      • 添加新站点
      • FTP 连接
      • 站点属性
      • FTP 日志
      • FTP 路径
    • 附加功能
      • 查看图像
        • 查看器鼠标、键和工具栏
        • 图像标记
        • 文件窗口关联查看器
      • 播放声音
      • 图像转换
        • 自动化图像转换任务
      • 打印文件夹
      • 重复文件查找器
      • 拆分文件
      • 拼接文件
      • 制作链接和连接点
      • 浮动工具栏
        • 控制浮动工具栏
      • 系统级热键
      • 导出到 USB
      • 与 Everything 集成
      • 擦除所有空白
      • 文件类型概览
      • 更新检查器
      • CLI
      • 崩溃日志
    • 配置
      • 备份和恢复配置
      • 配置类别
        • 色彩和字体
          • 暗黑模式
          • 主题
          • 颜色混合
          • Directory Opus 颜色
          • Windows 颜色
          • 图像
          • 字体
        • 文件列表
          • 文件夹展开
          • 鼠标
            • 背景事件
          • 导航
          • 选项
            • 信息提示
            • Tab键
          • 状态栏
          • 标题栏
        • 文件列表列
          • 外观
          • 求值器列
          • 求值器分组
          • 文件名
          • 图标
          • 选项
          • Shell 属性
        • 文件列表模式
          • 详细信息
          • 增强模式
            • 外观
            • 按钮
          • 缩略图
            • 文件夹
            • 性能
            • 样式
          • 平铺模式
        • 文件操作
          • 文件复制
            • 属性
            • 确认
            • 元数据
            • 安全
          • 删除文件
          • 双击文件
            • FTP
          • 日志记录
          • 元数据
            • 元数据编辑器
            • 音乐类型
          • 选项
          • 进度指示器
            • 统计文件
            • 作业栏
          • 重命名文件
            • 控制键
        • 过滤和排序
          • 过滤
          • 过滤栏
          • 即时查找
            • 过滤模式
            • 查找模式
            • 文件夹模式
          • 全局过滤器
          • 快速键
          • 排序
        • 文件夹
          • 自动读取
          • 文件夹格式
            • 自动格式
          • 文件夹图像
          • 文件夹大小
            • 交接点和链接
          • 网络服务器
          • 特殊文件夹
          • 虚拟文件夹
            • 桌面
            • 文件系统
            • 此电脑
        • 文件夹标签页
          • 尺寸
          • 边缘颜色
          • 文件夹标签栏
          • 分组
          • 锁定
          • 选项
        • 文件夹树
          • 外观
          • 内容
          • 展开/折叠
            • 图钉
          • 选项
          • 选择事件
        • 常用路径
          • 收藏夹列表
          • 文件夹别名
          • 主文件夹
          • 配对文件夹
          • 最近列表
          • 智能收藏夹
        • Internet
          • 电子邮件
          • 更新
        • 标记
          • 标记 定义
          • 标记分配
            • 在特定文件夹中
          • 选项
        • 启动 Opus
          • 资源管理器替换
          • 来自桌面
          • 任务栏图标
          • 来自 Win + E 热键
          • 启动
        • 布局和样式
          • 默认文件窗口
          • 布局
          • 样式
        • 地址栏
          • 选项
          • 路径字段
            • 外观
            • 菜单
            • 路径补全
          • 工具栏
        • 其它
          • 高级选项
          • 外部工具
          • 隐私
          • Shell 扩展
          • 声音
          • Windows 集成
            • 跳跃列表
          • Windows 启动延迟
        • 工具栏
          • 外观
          • 文件夹工具栏
          • 图标
          • 选项
          • 工具栏组
          • 视图工具条
        • 用户界面
          • 语言
          • Spacing
          • 过渡动画
        • 查看器
          • 独立查看器
            • Options
            • 尺寸和位置
            • 鼠标按钮
            • 已标记图片
            • 幻灯片放映
          • 查看器窗格
          • 查看器插件
        • Zip 和其它压缩包文件
          • 压缩包与 VFS 插件
          • 压缩包选项
          • 上下文菜单
          • Zip 文件
    • 自定义
      • 自定义对话框
        • 工具栏
        • 上下文菜单
        • 按键
        • 命令
        • User Commands
        • 默认工具栏
      • 创建您自己的按钮
        • Editing the Toolbar
          • 启动选项
          • 工具栏上下文菜单
          • 多功能按钮
          • 下拉按钮和菜单
          • 动态按钮
            • 驱动器按钮配置
          • Field Buttons
            • 路径字段配置
            • 过滤器字段配置
            • 驱动器下拉配置
          • 与他人分享功能
        • 命令编辑器
          • 简单命令编辑器
          • 高级命令编辑器
          • 使用热键控件
        • 用户自定义命令
        • 同步和异步函数
        • 内部命令参数
        • 将文件传递到外部程序
        • 命令修饰符
        • MS-DOS 批处理命令
        • WSL 命令
        • 嵌入重命名脚本
        • DDE 函数
        • 嵌入式功能
    • 文件类型
      • Directory Opus 文件类型
      • 文件类型组
      • 文件类型编辑器
        • Actions
        • 事件
        • 上下文菜单
        • 下拉菜单
        • 替换菜单
        • Info Tip
        • 平铺模式
    • 脚本
      • 重命名脚本
        • Custom Fields in the Rename Dialog
      • 脚本函数
      • 脚本加载项
        • 包括文件
        • 模块
        • 脚本包
        • 脚本安装器文件
      • Script Management
        • 创​​建新脚本
        • 脚本安装器
      • 脚本编辑器
        • 脚本资产**
        • 编辑器
          • 代码编辑器
          • 对话框编辑器
            • 对话框编辑器命令
            • Adding Dialog Controls
            • 尺寸和定位对话框控件
            • 使用布局命令
            • 对话框控件制表顺序
            • 对话框控制助记符
            • 语言覆盖
            • 对话框控件属性
              • 常见对话框属性
              • 对话框属性 若要编辑对话框的属性,请在任意控件外部单击对话框。适用于对话框的具体属性是:
              • 静态文本属性
              • 标记文本属性
              • 编辑控件属性
              • 按钮属性
              • 复选框属性
              • 单选按钮属性
              • 组合框属性
              • 列表框属性
              • 列表视图属性
              • 标签页控件属性
              • 组框属性
              • Palette Properties
          • 字符串编辑器
        • 片段
      • 脚本对话框
        • 创建脚本对话框
        • 对话消息循环
          • 简单对话框
          • 分离对话框
        • 读取对话框控件值
        • 与对话框控件交互
      • 资源
        • 字符串资源
      • 脚本日志
      • 示例脚本
        • 示例重命名脚本
        • 简单脚本函数
        • 添加新内部命令
        • 添加新列
        • 使用 Shell 属性添加新列
        • 拓展即时查找领域
        • 简单对话框和弹出菜单
        • 脚本对话框示例
        • 响应事件
    • 求值器
      • 求值器语法
      • 求值器变量
      • Applicable Contexts
        • 求值器列
        • 求值员组
        • 过滤器和查找
        • 文件信息提示和平铺
        • 按钮和功能
          • 求值器按钮标签
          • Colors
          • 求值器按钮图标
          • Tooltips
          • Dynamic State
          • Conditional Behavior
          • 函数中的求值子句
          • 求值插入代码
          • 求值器生成的命令行
        • 重命名
        • Generated File Names
        • 重命名控制键
        • 状态栏
        • 列上下文菜单
        • 标签上下文菜单
      • Examples
    • 参考
      • 通配符参考
        • 模式匹配语法
        • 正则表达式语法
      • 状态栏代码
        • 文件和文件夹计数代码
        • 磁盘空间代码
        • 音乐和视频时长代码
        • 图形元素代码
        • 其它代码
        • 条形图和百分比
        • 隐藏状态栏中的部分内容
        • 状态栏上的填充部分
      • 命令参考
        • 参数类型
        • 内部命令
          • CLI
          • Clipboard
          • Close
          • ContextMenu
          • Copy
          • CreateFolder
          • Delete
          • Favorites
          • FileType
          • Find
          • GetSizes
          • Go
          • Help
          • Image
          • Join
          • Marker
          • Play
          • Prefs
          • Print
          • Properties
          • Recent
          • Rename
          • Select
          • Set
          • SetAttr
          • Show
          • Split
          • Toolbar
          • Undo
        • 外部控制代码
          • 用于传递文件名代码
          • 有关路径的代码
          • 对话框显示代码
          • 日期和时间的代码
          • Codes for clipboard and variables
        • 命令修饰符参考
      • 脚本参考
        • 脚本对象
          • AboutData
          • ActivateListerData
          • ActivateTabData
          • AddCmdData
          • AddColData
          • AfterFolderChangeData
          • Alias
          • Aliases
          • Args
          • AudioCoverArt
          • AudioMeta
          • BeforeFolderChangeData
          • Blob
          • BusyIndicator
          • ClickData
          • ClipboardChangeData
          • CloseListerData
          • CloseTabData
          • Column
          • ColumnValue
          • Command
          • ConfigBackupData
          • ConfigRestoreData
          • Control
          • CustomFieldData
          • Date
          • Dialog
          • DialogListColumn
          • DialogListColumns
          • DialogListGroup
          • DialogListItem
          • DialogOption
          • DisplayModeChangeData
          • Dock
          • DocMeta
          • DOpus
          • DOpusFactory
          • DoubleClickData
          • DPI
          • Drive
          • ExeMeta
          • EverythingInterface
          • EverythingResult
          • Favorite
          • Favorites
          • File
          • FileAttr
          • FileGroup
          • FileOperationCompleteData
          • FileSize
          • FilesystemChangeData
          • FiletypeGroup
          • FiletypeGroups
          • Filter
          • FilterParseError
          • FlatViewChangeData
          • FolderEnum
          • FontMeta
          • Format
          • FSUtil
          • Func
          • GlobalFilters
          • GetCopyQueueNameData
          • GetCustomFieldData
          • GetNewNameData
          • HighlightedColumns
          • HTTPRequest
          • Image
          • ImageMeta
          • IncludeFileInitData
          • Item
          • Items
          • Lister
          • Listers
          • ListerResizeData
          • ListerUIChangeData
          • Map
          • Metadata
          • Msg
          • OpenListerData
          • OpenTabData
          • OrderedMap
          • OtherMeta
          • PairedFolder
          • Path
          • Progress
          • QuickFilter
          • Rect
          • Results
          • Script
          • ScriptColorPair
          • ScriptColumn
          • ScriptColumnData
          • ScriptCommand
          • ScriptCommandData
          • ScriptFAYTCommand
          • ScriptFAYTCommandData
          • ScriptConfig
          • ScriptConfigChangeData
          • ScriptInitData
          • ScriptStrings
          • ShellProperty
          • ShutdownData
          • Signature
          • SmartFavorite
          • SmartFavorites
          • SortOrder
          • SourceDestData
          • StartupData
          • StringSet
          • StringTools
          • StyleSelectedData
          • SysInfo
          • SystemSettingChangeData
          • Tab
          • TabClickData
          • TabGroup
          • TabGroups
          • TabGroupTabEntry
          • TabGroupTabList
          • TabStats
          • Toolbar
          • Toolbars
          • UnorderedSet
          • Var
          • Vars
          • Vector
          • Version
          • VideoMeta
          • Viewer
          • Viewers
          • ViewerEventData
          • Wild
          • WinVer
        • 脚本事件
          • OnAboutScript
          • OnActivateLister
          • OnActivateTab
          • OnAddColumns
          • OnAddCommands
          • OnAfterFolderChange
          • OnBeforeFolderChange
          • OnClick
          • OnClipboardChange
          • OnCloseLister
          • OnCloseTab
          • OnConfigBackup
          • OnConfigRestore
          • OnDisplayModeChange
          • OnDoubleClick
          • OnFilesystemChange
          • OnFileOperationComplete
          • OnFlatViewChange
          • OnGetCopyQueueName
          • OnGetCustomFields
          • OnGetNewName
          • OnInit
          • OnInitIncludeFile
          • OnListerResize
          • OnListerUIChange
          • OnOpenLister
          • OnOpenTab
          • OnScriptColumn
          • OnScriptCommand
          • OnScriptConfigChange
          • OnScriptFAYTCommand
          • OnShutdown
          • OnSourceDestChange
          • OnStartup
          • OnStyleSelected
          • OnSystemSettingChange
          • OnTabClick
          • OnViewerEvent
      • 求值器函数
        • AbortFunc
        • Abs
        • Age
        • Arg
        • As
        • Asc
        • Atan
        • Capitalize
        • Cbrt
        • Ceil
        • Chr
        • Cos
        • Clip
        • ClipFormat
        • Count
        • DateDiff
        • DatePart
        • DegToRad
        • DisplayName
        • Elapsed
        • Exists
        • FileCount
        • FileExt
        • FilePart
        • Floor
        • Format
        • Hypot
        • InStr
        • IsAlpha
        • IsChecked
        • IsDigit
        • IsDir
        • IsEnabled
        • IsFile
        • IsLower
        • IsParent
        • IsPath
        • IsPunct
        • IsSelected
        • IsSet
        • IsSpace
        • IsUpper
        • KeyDown
        • LanguageStr
        • LCase
        • Left
        • Len
        • MakeLegal
        • Match
        • Max
        • Mid
        • Min
        • Now
        • Output
        • Parent
        • PathType
        • Pow
        • RadToDeg
        • RegEx
        • RegExS
        • Replace
        • Resolve
        • Reverse
        • Right
        • Root
        • Rnd
        • Round
        • Running
        • Select
        • Sin
        • Space
        • Stem
        • StrCmp
        • String
        • Sqrt
        • Swap
        • SysInfo
        • Tan
        • Trim
        • Truncate
        • TypeOf
        • UCase
        • URLEncode
        • Val
      • DOpusRT 参考手册
        • 文件集合外部操作
        • 检索文件和文件夹信息
      • 元数据关键字
        • 列关键字
        • SetAttr META 的关键字
      • 文本过滤器
      • 图标集
        • 图标集 XML 定义文件
        • 图标大小
        • 图标名称
        • 图标显示名称
        • 图标类别
        • DPI aware Icon Sets
        • 本地化
        • 图标图像
      • 重命名宏语言
    • Directory Opus 13 的新功能有哪些?
      • Directory Opus 13 - 亮点
        • Highlights Page 1
        • Highlights Page 2
        • Highlights Page 3
        • Highlights Page 4
        • Highlights Page 5
        • Highlights Page 6
      • Directory Opus 13 - 详细变更列表
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细的发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发布说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发布说明
        • Directory Opus 13 - 详细的发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发布说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发布说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细版本说明
        • Directory Opus 13 - 详细版本说明
        • Directory Opus 13 - 详细发布说明
        • Directory Opus 13 - 发布说明详情
        • Directory Opus 13 - 详细版本说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发布说明
        • Directory Opus 13 - 发行说明详细
        • Directory Opus 13 - 详细的发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细的发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细版本说明
        • Directory Opus 13 - 详细的发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细版本说明
      • Directory Opus 13 - 从 Opus 12 升级的提示
  • Manual
    • Copyrights
    • Licenses
      • End-user License Conditions
      • Volume License Conditions
    • Acknowledgements
    • Introduction
    • Basic Concepts
      • Starting Opus
      • The Lister
        • Opening a Lister
        • The Default Lister
        • Navigation
          • Home Folder
          • Up, Forward, Back
          • Folder Tree
          • Location Bar
            • Path Field
          • Drive Buttons and Dropdowns
          • Favorites
          • SmartFavorites
          • Recent and History Lists
          • Aliases
          • Paired Folders
        • Tabs
          • Tab Switcher
          • Locked Tabs
          • Linked Tabs
          • Tab Groups
        • View Modes
        • Dual Display
          • Navigation Lock
        • Toolbars
          • The Default Toolbars
            • Menu Toolbar
            • Operations Toolbar
            • Favorites Bar
            • File Display Toolbar
            • Images Toolbar
          • Dynamic Toolbars
          • Toolbar Sets
        • Find-as-you-type Field
        • Viewer Pane
        • Metadata Pane
        • Utility Panel
        • Layouts
        • Styles
        • Themes
          • Creating your own Themes
        • Status Bar
      • Explorer Replacement
      • Source and Destination
      • Selecting Files
        • Selecting with the mouse and keyboard
          • Single-click mode
          • Checkbox Mode
        • Simple Wildcard Selection
        • Advanced Selection
        • Selecting Cells
      • Searching and Filtering
        • Filter Bar
        • Show Everything
        • Toolbar Filter Fields
        • Quick Search
        • Find Files
          • Simple Find
          • Advanced Find
      • Sorting and Grouping
        • Manual Sorting
      • Folder Format
        • Folder Format Dialog
          • Columns
            • Frozen Columns
          • Sorting
          • Grouping
          • Display
          • Filters
        • Saved Folder Formats
        • Auto-remembered Formats
        • Content Types
        • Identifying the current format
        • Locking the Format
      • Expandable Folders
      • Flat View
      • Folder Sizes
      • Virtual File System
        • System virtual folders
        • File Collections
          • Stored Queries
        • Libraries
        • Archives
        • FTP
        • MTP
    • File Operations
      • Copying, Moving and Deleting Files
        • Copy and Paste
        • Drag and drop
        • Copying using the toolbar buttons
          • Using Wildcards when Copying
        • Copy Queues
          • Copy Overlays and Ghost Files
          • Unattended operation
        • The Jobs Bar
        • The Confirm File Replace Dialog
        • Copying Updated Files
          • Synchronize
        • Deleting Files
      • Renaming Files
        • Inline Rename
        • Simple Wildcard Rename
        • Advanced Rename
          • Rename Presets
          • Rename Modes
            • Standard Wildcard Rename
            • Find and Replace
            • Regular Expressions
            • Regular Expressions + Find and Replace
          • Rename Actions
            • Numbering Files
            • Rename Macros
          • Rename Options
          • Renaming with Metadata
          • Rename Scripts
      • Creating Folders
      • Creating Archives
        • Adding to Archives
        • Add to Archive Dialog
          • Zip Options
          • 7z Options
          • RAR Options
          • TAR BZip2 Options
          • TAR GZip Options
        • Zip Files
          • Zip Comment
          • Read-Only mode
          • Self-Extracting Zip Files
      • Tracking and Undoing File Operations
      • Changing Attributes
      • Labels and Status Icons
      • Editing Metadata
        • Document Properties
        • Picture Properties
        • Music Properties
          • Adding Cover Art
        • Video Properties
        • Extended Properties
        • Programmatic setting of Metadata
        • Time Shifting
      • File Descriptions
      • Filtered Operations
        • Filter Clauses
        • Adding, Removing and Editing Clauses
        • Filter Clause Types
        • Textual Filters
      • UAC and Administrator Mode
    • FTP
      • FTP Address Book
        • Default Settings
        • Site Page
        • Network Page
        • Display Page
        • Index Page
        • Sounds Page
        • Misc Page
        • Speed Page
        • Special Page
        • Transfer Page
        • Proxy Page
      • Adding a new Site
      • FTP Connect
      • Site Properties
      • FTP Log
      • FTP Paths
    • Additional Functionality
      • Viewing Images
        • Viewer Mouse, Keys and Toolbar
        • Image Marking
        • Lister-Linked Viewers
      • Playing Sounds
      • Image Conversion
        • Automated image conversion tasks
      • Print Folder
      • Duplicate File Finder
      • Splitting Files
      • Joining Files
      • Making Links and Junctions
      • Floating Toolbars
        • Controlling Floating Toolbars
      • System-wide Hotkeys
      • Exporting to USB
      • Integration with Everything
      • Erase Empty Space
      • File Type Summary
      • Update Checker
      • CLI
      • Crash Logs
    • Preferences
      • Backing up and Restoring Preferences
      • Preferences Categories
        • Colors And Fonts
          • Dark Mode
          • Themes
          • Color Blending
          • Directory Opus Colors
          • Windows Colors
          • Images
          • Fonts
        • File Displays
          • Folder Expansion
          • Mouse
            • Background Events
          • Navigation
          • Options
            • Info Tips
            • Tab Key
          • Status Bar
          • Title Bar
        • File Display Columns
          • Appearance
          • Evaluator Columns
          • Evaluator Groups
          • Filenames
          • Icons
          • Options
          • Shell Properties
        • File Display Modes
          • Details
          • Power Mode
            • Appearance
            • Buttons
          • Thumbnails
            • Folders
            • Performance
            • Styles
          • Tiles Mode
        • File Operations
          • Copying Files
            • Attributes
            • Confirmation
            • Metadata
            • Security
          • Deleting Files
          • Double-click Files
            • FTP
          • Logging
          • Metadata
            • Metadata Editor
            • Music Genres
          • Options
          • Progress Indicators
            • Counting Files
            • Jobs Bar
          • Renaming Files
            • Control Keys
        • Filtering And Sorting
          • Filters
          • Filter Bar
          • Find-As-You-Type
            • Filter Mode
            • Find Mode
            • Folders Mode
          • Global Filters
          • Quick Keys
          • Sorting
        • Folders
          • Automatic Reading
          • Folder Formats
            • Automatic Formats
          • Folder Images
          • Folder Sizes
            • Junctions And Links
          • Network Servers
          • Special Folders
          • Virtual Folders
            • Desktop
            • File System
            • This PC
        • Folder Tabs
          • Dimensions
          • Edge Colors
          • Folder Tab Bar
          • Groups
          • Locking
          • Options
        • Folder Tree
          • Appearance
          • Contents
          • Expand / Collapse
            • Pins
          • Options
          • Selection Events
        • Frequently Used Paths
          • Favorites List
          • Folder Aliases
          • Home Folder
          • Paired Folders
          • Recent List
          • SmartFavorites
        • Internet
          • Email
          • Updates
        • Labels
          • Label Definitions
          • Label Assignments
            • In Specific Folders
          • Options
        • Launching Opus
          • Explorer Replacement
          • From the Desktop
          • From the Taskbar Icon
          • From the Win + E hotkey
          • Startup
        • Layouts and Styles
          • Default Lister
          • Layouts
          • Styles
        • Location Bar
          • Options
          • Path Fields
            • Appearance
            • Menus
            • Path Completion
          • Toolbars
        • Miscellaneous
          • Advanced
          • External Tools
          • Privacy
          • Shell Extensions
          • Sounds
          • Windows Integration
            • Jump List
          • Windows Startup Delay
        • Toolbars
          • Appearance
          • Folder Toolbars
          • Icons
          • Options
          • Sets
          • View Mode Toolbars
        • User Interface
          • Language
          • Spacing
          • Transition Animations
        • Viewer
          • Standalone Viewer
            • Options
            • Size And Position
            • Mouse Buttons
            • Marked Pictures
            • Slideshow
          • Viewer Pane
          • Viewer Plugins
        • Zip and Other Archives
          • Archive and VFS Plugins
          • Archive Options
          • Context Menu
          • Zip Files
    • Customize
      • The Customize Dialog
        • Toolbars
        • Context Menus
        • Keys
        • Commands
        • User Commands
        • Default Toolbars
      • Creating your own buttons
        • Editing the Toolbar
          • Launch Options
          • Toolbar Context Menus
          • Multiple Function Buttons
          • Drop-down Buttons and Menus
          • Dynamic Buttons
            • Drive Buttons Configuration
          • Field Buttons
            • Path Field Configuration
            • Filter Field Configuration
            • Drives Dropdown Configuration
          • Sharing functions with others
        • Command Editor
          • Simple Command Editor
          • Advanced Command Editor
          • Using the Hotkey Control
        • User-defined commands
        • Synchronous and Asynchronous functions
        • Internal Command Arguments
        • Passing files to external programs
        • Command modifiers
        • MS-DOS Batch commands
        • WSL Commands
        • Embedding Rename Scripts
        • DDE Functions
        • Embedded functions
    • File Types
      • Directory Opus File Types
      • File Type Groups
      • Filetype Editor
        • Actions
        • Events
        • Context Menu
        • Drop Menu
        • Replace Menu
        • Info Tip
        • Tiles Mode
    • Scripting
      • Rename Scripts
        • Custom Fields in the Rename Dialog
      • Script Functions
      • Script Add-ins
        • Include Files
        • Modules
        • Script Package
        • Script Installer Files
      • Script Management
        • Create New Script
        • Script Installer
      • Script Editor
        • Script Assets
        • Editors
          • Code Editor
          • Dialog Editor
            • Dialog Editor Commands
            • Adding Dialog Controls
            • Sizing and Positioning Dialog Controls
            • Using the Layout Commands
            • Dialog Control Tab Order
            • Dialog Control Mnemonics
            • Language Overlays
            • Dialog Control Properties
              • Common Dialog Properties
              • Dialog Properties
              • Static Text Properties
              • Markup Text Properties
              • Edit Control Properties
              • Button Properties
              • Check Box Properties
              • Radio Button Properties
              • Combo Box Properties
              • List Box Properties
              • List View Properties
              • Tab Control Properties
              • Group Box Properties
              • Palette Properties
          • String Editor
        • Snippets
      • Script Dialogs
        • Creating Script Dialogs
        • The Dialog Message Loop
          • Simple Dialogs
          • Detached Dialogs
        • Reading Dialog Control Values
        • Interacting with Dialog Controls
      • Resources
        • String Resources
      • Script Log
      • Example Scripts
        • Example Rename Script
        • Simple Script Function
        • Adding a new Internal Command
        • Adding a new Column
        • Adding a new Column from Shell Properties
        • Extending the FAYT Field
        • Simple Dialogs and Popup Menus
        • Script Dialog Example
        • Responding to Events
    • Evaluator
      • Grammar
      • Variables
      • Applicable Contexts
        • Evaluator Columns
        • Evaluator Groups
        • Filters and Find
        • Info Tips and Tiles
        • Buttons and Functions
          • Labels
          • Colors
          • Icons
          • Tooltips
          • Dynamic State
          • Conditional Behavior
          • Evaluation Clauses
          • Insertion Code
          • Command Lines
        • Rename
        • Generated File Names
        • Rename Control Keys
        • Status Bar
        • Column Context Menus
        • Tab Context Menus
      • Examples
    • Reference
      • Wildcard Reference
        • Pattern Matching Syntax
        • Regular Expression Syntax
      • Status Bar Codes
        • Codes for file and folder counts
        • Codes for disk space
        • Codes for music and video duration
        • Codes for graphical elements
        • Other Codes
        • Bar graphs and Percentages
        • Hiding sections on the status bar
        • Padding sections on the status bar
      • Command Reference
        • Argument Types
        • Internal Commands
          • CLI
          • Clipboard
          • Close
          • ContextMenu
          • Copy
          • CreateFolder
          • Delete
          • Favorites
          • FileType
          • Find
          • GetSizes
          • Go
          • Help
          • Image
          • Join
          • Marker
          • Play
          • Prefs
          • Print
          • Properties
          • Recent
          • Rename
          • Select
          • Set
          • SetAttr
          • Show
          • Split
          • Toolbar
          • Undo
        • External control codes
          • Codes for passing filenames
          • Codes for passing paths
          • Codes to display dialogs
          • Codes for date and time
          • Codes for clipboard and variables
        • Command modifier reference
      • Scripting Reference
        • Scripting Objects
          • AboutData
          • ActivateListerData
          • ActivateTabData
          • AddCmdData
          • AddColData
          • AfterFolderChangeData
          • Alias
          • Aliases
          • Args
          • AudioCoverArt
          • AudioMeta
          • BeforeFolderChangeData
          • Blob
          • BusyIndicator
          • ClickData
          • ClipboardChangeData
          • CloseListerData
          • CloseTabData
          • Column
          • ColumnValue
          • Command
          • ConfigBackupData
          • ConfigRestoreData
          • Control
          • CustomFieldData
          • Date
          • Dialog
          • DialogListColumn
          • DialogListColumns
          • DialogListGroup
          • DialogListItem
          • DialogOption
          • DisplayModeChangeData
          • Dock
          • DocMeta
          • DOpus
          • DOpusFactory
          • DoubleClickData
          • DPI
          • Drive
          • ExeMeta
          • EverythingInterface
          • EverythingResult
          • Favorite
          • Favorites
          • File
          • FileAttr
          • FileGroup
          • FileOperationCompleteData
          • FileSize
          • FilesystemChangeData
          • FiletypeGroup
          • FiletypeGroups
          • Filter
          • FilterParseError
          • FlatViewChangeData
          • FolderEnum
          • FontMeta
          • Format
          • FSUtil
          • Func
          • GlobalFilters
          • GetCopyQueueNameData
          • GetCustomFieldData
          • GetNewNameData
          • HighlightedColumns
          • HTTPRequest
          • Image
          • ImageMeta
          • IncludeFileInitData
          • Item
          • Items
          • Lister
          • Listers
          • ListerResizeData
          • ListerUIChangeData
          • Map
          • Metadata
          • Msg
          • OpenListerData
          • OpenTabData
          • OrderedMap
          • OtherMeta
          • PairedFolder
          • Path
          • Progress
          • QuickFilter
          • Rect
          • Results
          • Script
          • ScriptColorPair
          • ScriptColumn
          • ScriptColumnData
          • ScriptCommand
          • ScriptCommandData
          • ScriptFAYTCommand
          • ScriptFAYTCommandData
          • ScriptConfig
          • ScriptConfigChangeData
          • ScriptInitData
          • ScriptStrings
          • ShellProperty
          • ShutdownData
          • Signature
          • SmartFavorite
          • SmartFavorites
          • SortOrder
          • SourceDestData
          • StartupData
          • StringSet
          • StringTools
          • StyleSelectedData
          • SysInfo
          • SystemSettingChangeData
          • Tab
          • TabClickData
          • TabGroup
          • TabGroups
          • TabGroupTabEntry
          • TabGroupTabList
          • TabStats
          • Toolbar
          • Toolbars
          • UnorderedSet
          • Var
          • Vars
          • Vector
          • Version
          • VideoMeta
          • Viewer
          • Viewers
          • ViewerEventData
          • Wild
          • WinVer
        • Scripting Events
          • OnAboutScript
          • OnActivateLister
          • OnActivateTab
          • OnAddColumns
          • OnAddCommands
          • OnAfterFolderChange
          • OnBeforeFolderChange
          • OnClick
          • OnClipboardChange
          • OnCloseLister
          • OnCloseTab
          • OnConfigBackup
          • OnConfigRestore
          • OnDisplayModeChange
          • OnDoubleClick
          • OnFilesystemChange
          • OnFileOperationComplete
          • OnFlatViewChange
          • OnGetCopyQueueName
          • OnGetCustomFields
          • OnGetNewName
          • OnInit
          • OnInitIncludeFile
          • OnListerResize
          • OnListerUIChange
          • OnOpenLister
          • OnOpenTab
          • OnScriptColumn
          • OnScriptCommand
          • OnScriptConfigChange
          • OnScriptFAYTCommand
          • OnShutdown
          • OnSourceDestChange
          • OnStartup
          • OnStyleSelected
          • OnSystemSettingChange
          • OnTabClick
          • OnViewerEvent
      • Evaluator Functions
        • AbortFunc
        • Abs
        • Age
        • Arg
        • As
        • Asc
        • Atan
        • Capitalize
        • Cbrt
        • Ceil
        • Chr
        • Cos
        • Clip
        • ClipFormat
        • Count
        • DateDiff
        • DatePart
        • DegToRad
        • DisplayName
        • Elapsed
        • Exists
        • FileCount
        • FileExt
        • FilePart
        • Floor
        • Format
        • Hypot
        • InStr
        • IsAlpha
        • IsChecked
        • IsDigit
        • IsDir
        • IsEnabled
        • IsFile
        • IsLower
        • IsParent
        • IsPath
        • IsPunct
        • IsSelected
        • IsSet
        • IsSpace
        • IsUpper
        • KeyDown
        • LanguageStr
        • LCase
        • Left
        • Len
        • MakeLegal
        • Match
        • Max
        • Mid
        • Min
        • Now
        • Output
        • Parent
        • PathType
        • Pow
        • RadToDeg
        • RegEx
        • RegExS
        • Replace
        • Resolve
        • Reverse
        • Right
        • Root
        • Rnd
        • Round
        • Running
        • Select
        • Sin
        • Space
        • Stem
        • StrCmp
        • String
        • Sqrt
        • Swap
        • SysInfo
        • Tan
        • Trim
        • Truncate
        • TypeOf
        • UCase
        • URLEncode
        • Val
      • DOpusRT Reference
        • External Manipulation of File Collections
        • Retrieving File and Folder Information
      • Metadata Keywords
        • Keywords for Columns
        • Keywords for SetAttr META
      • Textual Filters
      • Icon Sets
        • Icon Set XML Definition File
        • Icon Sizes
        • Icon Names
        • Icon Display Names
        • Icon Categories
        • DPI aware Icon Sets
        • Localization
        • Icon Images
      • Rename Macro Language
    • New In Directory Opus 13
      • Directory Opus 13 (Highlights)
        • Highlights Page 1
        • Highlights Page 2
        • Highlights Page 3
        • Highlights Page 4
        • Highlights Page 5
        • Highlights Page 6
      • Directory Opus 13 (Detailed)
        • Dark Mode & Cosmetics
        • File Copying
        • Everything (indexed search)
        • Evaluator
        • Lister Defaults
        • Folder Tree
        • File Display
        • Thumbnails
        • Folder Tabs
        • Location Bar
        • Filter Bar
        • Find As You Type (FAYT)
        • Search Field
        • Find Files
        • Duplicate Files Finder
        • Synchronize
        • Other Utility Panels
        • Metadata
        • Columns
        • Folder Sizes
        • Status Bar
        • Rename
        • Viewer
        • Image Converter
        • File & Folder Labels
        • Folder Aliases
        • Folder Formats
        • Preferences
        • Customize
        • Default Toolbars & Menus
        • Script IDE
        • File Types
        • Set Attributes
        • Print / Export Folder Listing
        • Split / Join
        • Archives
        • Cloud Storage
        • User Interface Spacing
        • Virtual Desktops
        • Shell Extensions
        • Miscellaneous Features
        • Miscellaneous Fixes & Workarounds
        • Miscellaneous Commands
        • Miscellaneous Scripting
        • Removed Functionality
      • Tips for Upgrading from Opus 12
由 GitBook 提供支持
在本页
在GitHub上编辑
  1. Manual
  2. Reference
  3. Command Reference
  4. Internal Commands

Rename

上一页Recent下一页Select

最后更新于9个月前

The Rename internal command can be used to:

  • Trigger mode, letting you quickly edit the name of a file or folder

  • Display the dialog, letting you perform wildcard and scripted renames on multiple files at once

  • Perform automated rename operations

  • in a button or hotkey

Note that the dialog lets you automatically create a command line using the user interface - simply configure the dialog as desired and then select Create function from current settings from the dropdown Clipboard menu at the bottom of the dialog.

Command Arguments:

Argument
Type
Possible values
Description

(no argument)

-

-

Example: Rename

ADVANCED

/S

(no value)

Example: Rename ADVANCED

When combined with rename patterns or preset names, the ADVANCED argument can be used to ensure the command opens the Rename dialog instead of immediately renaming all selected items.

Example: Rename ADVANCED PATTERN=* TO=*.bak Example: Rename ADVANCED PRESET="Number Files"

APPLYNOMATCH

/S

(no value)

Turns on the Apply actions even if pattern doesn't match option for the rename function. This makes things like the CASE argument apply to all filenames, whether they match the old name pattern (given by the PATTERN argument) or not.

Example: Rename PATTERN "*.jpeg" TO "*.jpg" CASE=allwords APPLYNOMATCH

AUTONUMBER

/S

(no value)

Automatically adds an incrementing number to the end of new filenames if they clash with existing files.

Example: Rename PATTERN "The *" TO * AUTONUMBER

BY

/K/N

<increment>

Specifies the increment when renaming files with automatic numbering (using the NUMBER option). If not specified the default increment is 1.

Example: Rename NUMBER BY 2

CASE

/K

upper

Converts filenames to all-upper case.

Example: Rename CASE=upper

lower

Converts filenames to all-lower case.

Example: Rename CASE=lower NUMBER

firstword

Capitalizes the first letter of the filename.

Example: Rename CASE=firstword

allwords

Capitalizes the first letter of each word of the filename.

Example: Rename CASE=allwords

extupper

Converts the filename extension to upper case.

Example: Rename CASE=extupper

extlower

Converts the filename extension to lower case.

Example: Rename CASE=extlower

extignore

Ignores the extension while applying case changes to the filename. Use this in conjunction with one of the other keywords.

Example: Rename CASE=upper,extignore

FINDREP

/O

(no value)

Enable find-and-replace mode. The PATTERN argument must be used to provide the string to find, and the TO argument provides the string to replace it with. You can optionally combine this with the REGEXP argument.

Example: Rename FINDREP PATTERN="jones" TO="smith"

ext

Makes find-and-replace operate in the filename extension as well as in the stem of the filename.

Example: Rename FINDREP=ext PATTERN="jpg" TO="jpeg"

FROM

<filename> ...

Example: Rename FROM C:\Spool\\.tmp TO *.temp

HEADING

/O

(no value)

When HEADING is used by itself, without specifying a text value, the main button's label text is used for the heading.

Example: Rename PRESET=!list,favesonly HEADING

<heading text>

You can specify the heading text if you want it to be different to the button's label.

Example: Rename PRESET=!list HEADING="Rename Presets"

IGNOREEXT

/S

(no value)

Turns on the Ignore extensions option for the rename function. Filename extensions won't be affected and don't need to be accounted for in any wildcard patterns.

Example: Rename PATTERN * TO *_backup IGNOREEXT

The Ignore extensions option is off by default for non-interactive renames, to avoid breaking old buttons. You only need to use the IGNOREEXT argument with rename commands which specify everything on the command line and do not open the Rename dialog.

The Ignore extensions option is on by default for interactive renames which open the dialog. You can turn the option off in the dialog via the separate NOIGNOREEXT argument, documented below.

INLINE

/O

(no value)

Example: Rename INLINE

all

Automatically selects the entire filename for editing.

Example: Rename INLINE=all

name

Automatically selects the filename's stem (but not the extension). Selects the whole name for a folder.

Example: Rename INLINE=name

endstem

Positions the cursor at the end of the filename's stem (before the extension), but does not automatically select any part of the name.

Example: Rename INLINE=endstem

ext

Automatically selects the filename's extension. Selects the whole name for a folder.

Example: Rename INLINE=ext

home

Positions the cursor at the beginning of the filename.

Example: Rename INLINE=home

end

Positions the cursor at the end of the filename.

Example: Rename INLINE=end

single

If more than one item is selected, the Rename dialog will be displayed. Without this, inline rename will begin on the focused item only.

Example: Rename INLINE=name,single

MACRO

/K

Example: Rename MACRO R0-6/L0+Final

MATCHCASE

/S

(no value)

Makes the rename operation case-sensitive. Patterns and search strings must match the exact case of the filename.

Example: Rename PATTERN *.jpG TO *.JPG MATCHCASE

NOFILEINFO

/S

(no value)

Disable file information metadata insertion. For example, the string {mp3title} would normally insert the title of an MP3 file in the new filename. With NOFILEINFO specified, the literal string "{mp3title}" would be inserted in the new filename.

Example: Rename PATTERN * TO *_{name} NOFILEINFO

NOIGNOREEXT

/S

(no value)

Turns off the Ignore Extension option in the Rename dialog when it first opens. You only need to use this argument when opening the Rename dialog for interactive use.

Example: Rename PATTERN *.JPEG TO *.JPG ADVANCED NOIGNOREEXT

For non-interactive use of the Rename command, the Ignore Extension option is off by default (to avoid breaking old buttons) and can be turned on via the separate IGNOREEXT argument, documented above.

NOMATCHNOFAIL

/S

(no value)

Files which do not match the rename pattern are not 'failed'. This can be useful with multi-line functions which need to do some optional renaming before passing all of the files to additional commands.

By default, when NOMATCHNOFAIL is not used, if a file does not match the rename pattern then it will be flagged as a failure and skipped by the rest of the function (unless the very next command is another Rename, in which case the file gets a second chance).

If NOMATCHNOFAIL is used then files which do not match the rename pattern are still passed to subsequent commands.

Example: Rename PATTERN "* Backup.*" TO *.* NOMATCHNOFAIL

NUMBER

/O

(no value)

Automatically number files. Selected files will be numbered in the order they are presented in the file display, so you should make sure the list is sorted as desired before using this command. The number 1 will be assigned to the first selected file, and the number for each subsequent file will be incremented by the value given for the BY argument (or by 1 if BY is not provided).

By default the number is added to the end of the filename, in front of the extension. You can specify a different location for the number by providing the [#] marker in the new filename.

Example: Rename PATTERN * TO \[#\]\* NUMBER

<start>

Number files starting with the specified number. Providing a value for NUMBER also lets you zero-pad the assigned number. For example, the value 0010 means to start numbering at 10, and zero-pad to four digits. The [#] marker can also be used to specify zero-padding - [#5] would zero-pad to five digits.

Example: Rename NUMBER 00001 BY 2

If you add a ! before the number, you can use this argument to specify the default value for the corresponding field in the Rename dialog without actually turning on the sequential numbering option. For example, you may want a default of "01" so you get padding to two digits without having to type the extra "0" every time you turn on the option in the UI. If you make use of that, you should also include the ADVANCED argument so the Rename dialog appears, instead of it silently performing a rename operation.

Example: Rename ADVANCED NUMBER=!01

PATTERN

/K

<pattern>

Specifies a wildcard pattern that represents the old (original) filename. This argument is used when performing a wildcard rename. The Rename command supports a simple wildcard syntax where one or more asterisks supplied for the PATTERN argument can be used to copy parts of the original name to the new name. The PATTERN argument is also used in conjunction with REGEXP to provide the search pattern for a regular expression rename, and in conjunction with FINDREP to provide the search string for a find-and-replace rename.

Example: Rename PATTERN IMGP(.*).jpg TO "Image \1.jpg" REGEXP

Specifying the FROM argument as well will mean the command ignores the current file selection and applies the specified rename on all matching files. Only files matching both the TO and PATTERN arguments would be renamed.

Example: Rename FROM *.jpg PATTERN IMGP(.*).jpg TO "Image \1.jpg" REGEXP

If the PATTERN and TO arguments are both given, the command will normally apply the rename immediately, without prompting for any further interaction; you can add the ADVANCED argument to instead display the Rename dialog, with the specified pattern, so that you can preview the operation and make adjustments, or cancel it entirely, as needed.

Example: Rename ADVANCED PATTERN * TO *.bak

PRESET

/K

findrep

Opens the Rename dialog in Find and Replace mode.

Example: Rename PRESET=findrep

regexp

Opens the Rename dialog in Regular Expression mode.

Example: Rename PRESET=regexp

regexpfindrep

Opens the Rename dialog in Regular Expression + Find and Replace mode.

Example: Rename PRESET=regexpfindrep

last !last

Specifying PRESET=last opens the Rename dialog showing the settings from the last time the dialog was used. Similar to opening the dialog and clicking the Last Rename button.

Example: Rename PRESET=last

You can also use !last to apply the last rename automatically, without showing the Rename dialog first.

Example: Rename PRESET=!last

!list

The generated list can be controlled with the addition of the following keywords:

  • favesonly: Only displays presets marked as favorites.

  • nofaves: Only displays presets not marked as favorites.

  • nogroup: Don't not group favorite and non-favorite presets separately.

Example: Rename PRESET=!list,favesonly

<preset>

Example: Rename PRESET="Number Files"

You can add the ADVANCED argument to make the dialog open and allow you to make changes, or cancel the operation entirely, before the rename is applied.

Example: Rename ADVANCED PRESET="Number Files"

RECURSE

/S

(no value)

The rename operation will operate recursively on all files inside selected sub-folders.

Example: Rename PATTERN *.jpg TO *.jpeg RECURSE

REGEXP

/S

(no value)

Enables regular expression mode. The search pattern must be provided with the PATTERN argument, and the replace pattern with the TO argument. You can optionally combine this with the FINDREP argument.

Example: Rename PATTERN "(.*) - (.*)\\(.*)" TO "\2 - \1.\3" REGEXP

RENAMEMATCHING

/S

(no value)

Keeps files with the same stem and different extensions together when renumbering. For example, IMGP1032.JPG and IMGP1032.WAV when renamed would be given the same number.

Example: Rename NUMBER 0001 RENAMEMATCHING

SCRIPTARG

/K/M

<option:value> [<option:value>...]

Example: Rename PRESET MyRename SCRIPTARG my_option:True

SIMPLE

/S

(no value)

Example: Rename SIMPLE

TO

/O

<new name>

Specifies the new name of the file to rename. This argument is also used to specify the 'to' pattern when renaming using wildcards or regular expression, and the 'replace' string when renaming in find-and-replace mode. This argument can also be provided without a value when doing a find-and-replace rename - in that case, the search string would be replaced with nothing.

Example: Rename PATTERN " (Copy)" TO FINDREP

TYPE

/K

files

Force the rename to only operate on files - any selected folders will be ignored.

Example: Rename PATTERN * TO *.bak TYPE=files

dirs

Force the rename to only operate on folders.

Example: Rename PATTERN * TO Copy_* TYPE=dirs

WHENEXISTS

/K

ask

Controls what happens if the new filename already exists. The default action is to ask the user for each existing file.

Example: Rename PATTERN * TO *.bak WHENEXISTS=ask

delete

Performs the rename as requested, deleting the file that already existed.

Example: Rename PATTERN * TO *.bak WHENEXISTS=delete

keep

Performs the rename as requested, renaming the old file that already existed.

Example: Rename PATTERN * TO *.bak WHENEXISTS=keep

rename

Modifies the new name by adding a suffix to make it unique.

Example: Rename PATTERN * TO *.bak WHENEXISTS=rename

skip

Skips any files that already exist, without performing the rename.

Example: Rename PATTERN * TO *.bak WHENEXISTS=skip

Displays the dialog. The rename operation will be performed on all selected files and folders. The dialog will open in the last mode it was used in (either or ).

Displays the Rename dialog in mode.

Renames the files specified on the command line, rather than those selected in the source file display. This argument can accept filenames or . Remember to enclose each filename in quotes if it contains spaces.

When used with commands which generate a list of items (see ), the HEADING argument adds a small heading at the start of the list. The heading will be hidden when the list is empty. Headings only happen for commands which potentially generate multiple items at the same level as the button itself.

Activates on the item in the source file display that currently has focus.

Lets you specify a rename string. You can use the macro builder in the Rename dialog to generate these strings and then hardcode them in a command.

See the section on for a full discussion of the various renaming modes.

Displays a generated list of saved rename presets (acts as a ). Selecting a preset from the list will apply that rename operation to the currently selected files and folders.

Applies the named saved rename preset to all currently selected files and folders. Rename presets are created through the dialog.

Used to pass custom field values to a .

Displays the Rename dialog in mode.

inline rename
Rename
Embed a rename script
Advanced Rename
Rename
simple
advanced
advanced
wildcard patterns
dynamic buttons
inline renaming
macro operation
Renaming Files
dynamic button
Advanced Rename
rename script
simple