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.

85 views      
 

Messages in this Thread

 
94,013 Postings in 11,860 Threads, 347 registered users, 10 users online (0 registered, 10 guests)
Index | Admin contact |   Forum Time: Jan 21, 2019 - 8:25 am EST  |  Hits:27,074,774  (648 Today )
RSS Feed