REM Script for image processing with change of output file not to overwrite input file
@echo off
set arg1=%1
echo %arg1%
set str2=%arg1%
set str2=%str2:.png=_.png%
echo %str2%
program.exe -i %arg1% -o %str2%
pause
REM Script for image processing with change of output file not to overwrite input file
@echo off
set arg1=%1
echo %arg1%
set str2=%arg1%
set str2=%str2:.png=_.png%
echo %str2%
program.exe -i %arg1% -o %str2%
pause