Search found 5 matches
- 25 Apr 2010 13:45
- Forum: DOS Batch Forum
- Topic: Subnet calculator to ping ip addresses
- Replies: 2
- Views: 4281
Re: Subnet calculator to ping ip addresses
Think I have finished with this thread. I've added in validation and tidied up a bit. Seen a post Find an IP address posted by locbtran and MarkL provides a very neat solution to what is basically the same but his uses less time and space and has more relevant output - something I'll need to work on...
- 23 Apr 2010 12:10
- Forum: DOS Batch Forum
- Topic: Subnet calculator to ping ip addresses
- Replies: 2
- Views: 4281
Re: Subnet calculator to ping ip addresses
with a new pair of eyes in the morning it all became clear or at least a little less blurry and I've got it working as intended. The for loop now sets and compares the strings for the first/last and I changed some variables to be in alphabetical order. Main change is I added set i=%nta%...... set s=...
- 22 Apr 2010 09:35
- Forum: DOS Batch Forum
- Topic: Subnet calculator to ping ip addresses
- Replies: 2
- Views: 4281
Subnet calculator to ping ip addresses
Hello all I have been putting together a subnet calculator with additional feature that I want it to ping each address. So far I can generate a list of the ip addresses in a subnet. Problem is my list includes the subnet number and the broadcast address and I only want useable host ips in the list. ...
- 26 Dec 2009 15:41
- Forum: DOS Batch Forum
- Topic: Octal Decimal and Leading Zeros
- Replies: 5
- Views: 12345
Thanks very much for your help. GhostMachine - I am just a beginner with dos scripting (did a bit of vba and javascript in a previous life) so this is me trying to get familiar with variables and loops. Up til now I have only used scripts of 1 or 2 lines targeting a single station. If I have to targ...
- 24 Dec 2009 04:49
- Forum: DOS Batch Forum
- Topic: Octal Decimal and Leading Zeros
- Replies: 5
- Views: 12345
Octal Decimal and Leading Zeros
Hello I'm a beginner trying to write a script that I thought would be simple but is turning out a bit tricky. I am trying to generate a list of station numbers from a given input of first and last station name eg sws001 to sws500. My problem is that the 3 digit number format seems to cause dos to in...