../COLS:100:80:MAX does not work, because it has a wrong input format
../COLS:168:120:80 /MAX not the way i wanted, because the default is max, and the max value is not in the cyclic.
Now i have to do this way for 1 batch for many pc's or many monitors.
if %Computername%==ABC ZTW.EXE /COLS:100:80:168
if %Computername%==XYZ ZTW.EXE /COLS:100:80:136
if %Computername%==IJK ZTW.EXE /COLS:100:80:120
or
WMIC horizontalResolution x1
if x1==1920 ZTW.EXE /COLS:100:80:190
if x1==1680 ZTW.EXE /COLS:100:80:168
if x1==1366 ZTW.EXE /COLS:100:80:136
if x1==1280 ZTW.EXE /COLS:100:80:120
WMIC does not give an answer as number usually, it gives the ans in the paragraph form that i have to filer out, and if WMIC is too slow, then i will consider the
%Computername% form which is an user dependant
thanks for your reply, I can now stop looking for other ways in ztree.