I'm wrinting a simple batch to call some
command line applicacion that requires
reading a file and use the same name (without
the extension) to process the file and create an output file.
I've tried to do so in a for loop getting the file
names, copying in a different variable and
replacing the extension for the new one.
Out of a loop this seems to work
but once I try it within like
FOR %%files IN (*.pgm) DO(
echo %%new% >> Names.log
it prints just a list of %new