Search found 4 matches

by High_Noonan
26 Jul 2016 06:20
Forum: DOS Batch Forum
Topic: Merging two lists
Replies: 5
Views: 4749

Re: Merging two lists

Use a helper variable (e.g. "found" is either defined or undefined in the code below). A helper variable! Fantastic, aGerman. That solved the problem and is a great little technique to learn. Thank you very much. As for the rest of you, I appreciate you taking the time to respond to my po...
by High_Noonan
25 Jul 2016 13:51
Forum: DOS Batch Forum
Topic: Merging two lists
Replies: 5
Views: 4749

Merging two lists

I am trying to build a script that will inspect network switch port states and gather details about the connected host. I have this inspection/gathering working just fine, but I am left with several files that I want to merge. Right now I am having some issue with the logic of my initial merge loop ...
by High_Noonan
21 Jul 2016 08:27
Forum: DOS Batch Forum
Topic: Remove/Replace NUL in file
Replies: 3
Views: 4231

Re: Remove/Replace NUL in file

I didn't really understand that at first, but it struck me this morning what you were accomplishing.
I just ran it on the file and it worked amazingly well.

Thank you! Profoundly.
by High_Noonan
15 Jul 2016 13:42
Forum: DOS Batch Forum
Topic: Remove/Replace NUL in file
Replies: 3
Views: 4231

Remove/Replace NUL in file

Hello, I am new to batch scripting and have hit something of a show stopper for me. I am trying to automate the capture of data from our Cisco switches and managed to get a batch script working with plink earlier today. Very exciting stuff. Now that I have the output saved in a file (say rawMACList....