It seems that you can omit the directory, so you can copy the cmd to another directory and use it as it is.
Code: Select all
for /R %%I in ( *.jpg ) do identify -format "%%i %%wx%%h\n" "%%I" >> \dimensions.txt
Code: Select all
for /R %%I in ( *.jpg ) do identify -format "%%i %%wx%%h\n" "%%I" >> \dimensions.txt