T
Techeia
Back to Blog

Batch file to excecute a program with arguments: Image processing

September 20, 2022
By Techeia

 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