I am trying to create a bat file which read all the files of a directory and for every file runs descr_tool.exe. I ve found the following command which do so, for the same directory with the bat file:
echo off
for /r %%a in (*) do echo %%a >> get_files.txt start
D:\christos\SelfSimilarity\Release\descr_tool.exe 0
"D:\christos\ExtractCEDD\img\animal_2.jpg" 10 codebook1.txt
pause
How can I run proper the exe file from my .bat. The values after exe is my three arguments.
EDIT: The exe file it works. But I dont know how to put arguments proper to work normally.
Ok I think, it worked without the start before the exe file. Now I want to do two things: first to replace path+image with %%a and output.txt with imagefilename.txt.
echo off
for /r %%a in (*) do (
echo %%a >> get_files.txt
"D:\christos\SelfSimilarity\Release\descr_tool.exe" 0 "%%a" 10 "%%a".txt
echo hello
)