You can dump the clipboard history to a file using this command line tool. Then read and parse the file to get your paths.