title: Accessing copied text from a clipboard and store in a batch file
body: <p>In the batch file that I am creating, I am trying to make a string comparison between two different copied text. Basically, is the old copied text the same as the newer copied text. For this I want to access the clipboard and store the old copied text in a variable inside my batch file. Then, copy the new text, store it in another variable inside my batch file, and compare the two and see if they are the same. I have tried searching for a solution, but all the articles that I have seen describe how to copy text into the clipboard using a batch file. Whereas, I am trying to do the opposite. All help is greatly appreciated.</p>