ZTree.com  | ZEN  | About...  

 Index   Back

[Q] is there a way to achieve only cyclic through 100 and 80 and MAX in /COLS: ?   [Q]

By: Ryan       
Date: Dec 20,2018 at 03:40
In Response to: [Q] is there a way to achieve only cyclic through 100 and 80 and MAX in /COLS: ? (Slobodan Vujnovic)

../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.

153 views      
 

Messages in this Thread

 
94,273 Postings in 11,892 Threads, 347 registered users, 4 users online (0 registered, 4 guests)
Index | Admin contact |   Forum Time: May 20, 2019 - 6:29 am EDT  |  Hits:27,735,779  (3,131 Today )
RSS Feed