【发布时间】:2026-02-01 16:45:02
【问题描述】:
我有目录结构:
DIR
|-UNINSTALL.BAT
|-component_name
|-source
|-setup.exe
|-uninst.bat
|-another_component_name
|-source
|-setup.exe
|-uninst.bat
|-yet_another_component_name
|-source
|-setup.exe
|-uninst.bat
等等……
在像“component_name”这样的每个目录中,我都有setup.exe 文件,它将当前组件安装到Delphi 中的调色板组件中。
uninst.bat 只包含这个字符串:
"setup.exe" /uninstall
所以我需要在DIR 中写入UNINSTALL_ALL.bat,这将在所有组件目录中运行 uninst.bat。
提前谢谢你。
【问题讨论】:
标签: windows batch-file