- /D uses *.jpg as folder name, not file name, perhaps did you mean to write /R (recurse into subfolders)?
Originally Posted by SvenBent
- %i works in command line, in batch file (as requested by Stephan) you must write %%i.
- I think that %i (and %%i) doesn't handles file names with space in the right way, e.g. for file names "test_file_1.jpg" and "test file 2.jpg":
%i -> Lepton.exe <commands> test_file_1.jpg <-- test_file_1.jpg is 1 parameter
"%~i" -> Lepton.exe <commands> "test_file_1.jpg" <-- "test_file_1.jpg" is 1 parameter
%i -> Lepton.exe <commands> test file 2.jpg <-- test file 2.jpg are 3 parameters
"%~i" -> Lepton.exe <commands> "test file 2.jpg" <-- "test file 2.jpg" is 1 parameter