by the way, if anyone can suggest a book or documentation related to my question. that would be extremely appreciated.
new to this batch file programming, but not new to programming.
Search found 5 matches
- 23 Jun 2013 19:51
- Forum: DOS Batch Forum
- Topic: setting a variable with a ping result
- Replies: 9
- Views: 11168
- 23 Jun 2013 19:48
- Forum: DOS Batch Forum
- Topic: setting a variable with a ping result
- Replies: 9
- Views: 11168
Re: setting a variable with a ping result
sorry squashman, don't mean to waste your time. i really appreciated your first assistance. i thought that my question was extremely simple: put a value in a variable, then put that variable in a text file. Should be easy. i wanted to figure the code out on my own based on what you have provided. as...
- 23 Jun 2013 11:13
- Forum: DOS Batch Forum
- Topic: setting a variable with a ping result
- Replies: 9
- Views: 11168
Re: setting a variable with a ping result
foxidrive, personal enhancement
- 22 Jun 2013 23:04
- Forum: DOS Batch Forum
- Topic: setting a variable with a ping result
- Replies: 9
- Views: 11168
Re: setting a variable with a ping result
thanks for the reply, squashman! now, how could i insert the value in %%G into a textfile? what i'm trying to do is create a data set into a text file. simple data set with two columns. so, my result would be something like this in a text file ip-address, result 00.00.000.00, whatever result 00.00.0...
- 22 Jun 2013 21:31
- Forum: DOS Batch Forum
- Topic: setting a variable with a ping result
- Replies: 9
- Views: 11168
setting a variable with a ping result
hi guys! i have this code: ping -n 1 00.00.000.00 | find "Reply" >> icms_ping_log.txt i want to put the result of "reply" into a variable instead of a text file. how would i go about doing that or is there documentation that i can read that would help me with this? thanks in adva...