我试图创建一个项目,它通过文件读取一个目录和操纵以某种方式文件(从另一个程序)的每个文件运行一个命令,一个批处理文件。 当运行程序时,它会将每个操作文件的输出文件夹,与“_updated”扩展名。 我如何使用批处理文件不包含文件成为文件名称的一部分的扩展做这在我的命令? 例如,O / P从进入 “Videoa.bin” 到 “Videoa.bin_updated.bin”。 我怎样才能解决这个问题? 下面的代码!
@ECHO ON
cd [filename]
SET v=output_folder
mkdir %v%
for %%a in ([path to files]*\.bin) do [command, which takes in the following args:
output file name (the one with the _updated ext),
and input folder(+more)]
PAUSE