Window batch / DOS script to remove duplicate words in a string : <p>Can anyone help me with window batch / DOS script to remove in a string. </p>

<p>If the string is -</p>

<p>test1 test2 test1 test3 test2 test3</p>

<p>I need a script to display as </p>

<p>test1 test2 test3</p>
