Jump to content

Batch for 1-n range?


Recommended Posts

How do I do a list in the batch "for" statement for a range of numbers?

I want to do this

for %%x in (192.168.1-254) do somecommand

Right, your wanting to do a for command, what language are you talking about? VB Script, PHP, C++??? Give us a bit more to go on, to try and find out what your trying to do so we can help further.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy