Jump to content

How to make FOR cycle not %%x, but on the roll (can be from a file)?

- - - - -

  • Please log in to reply
No replies to this topic

#1
xcislav

xcislav

    Newbie

  • Members
  • Pip
  • 3 posts
Я делал по IP, подставляя FOR %%x IN (1,1,254) DO там sc query sharedaccess (тем более сложность представляла 10.0.1.х так как у нас больше 256 и маска ...254)
Кроме того это лишнее когда время тратится на всякие там другие сетевые устройства свичи да и вообще на "не те компы" а потом разгребать куча мусора. + это еще и очень долго час может пройти (в зависимости от команды) и хотелось бы не последовательно а параллельно.

I did by IP, placing FOR %%X IN (1,1,254) DO ..sc query sharedaccess (so much the more difficulty was with 10.0.1.x as we have more than 256 & mask ...254)
For another thing: switches and other unnecessary and time consuming things.
If possible ... can it be parallell? Because of one operation (it depends a lot on it) then another.. and another.. lots of time(




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users