Code: Select all
FOR %j in (045 155) DO FOR %k in (050 150) DO convert rose: -resize 500% -modulate %j,%k,100 rose%j%k.png
Code: Select all
FOR %j in (045 155) DO FOR %k in (050 150) DO convert rose: -resize 500% -modulate %j,%k,100 rose%j%k.png
Code: Select all
FOR %%j in (045 155) DO FOR %%k in (050 150) DO convert ^
rose: -resize 500%% -modulate %%j,%%k,100 rose_%%j_%%k.png
Code: Select all
FOR %%j in (045 155) DO (
FOR %%k in (050 150) DO (
%IM%convert ^
rose: ^
-resize 500%% ^
-modulate %%j,%%k,100 ^
rose_%%j_%%k.png
)
)
snibgo wrote:Code: Select all
for /F "usebackq" %%L in (`convert ^ infile ^ {procesing} ^ outfile`) do {something}
My impression is that it pipes the output from one command to another; in your examples, it's used to ECHO results or set them to a local variable. I guess I'm also trying to figure out how it relates to my previous question regarding indentation, etc.snibgo wrote:These days, my usual syntax is something like: for /F "usebackq" %%L in (`convert ^
....
See examples in my scripts, such as http://im.snibgo.com/eqlimit.htm#eqLimit.bat