path=\'U:\\\\rmarshall\\Work For Staff\\\\ROB\\\\_Downloads Folder\\\\\' file=\'file.pdf\' newFileName=time.strftime(\'%Y-%m-%d_\')+row[1]+time.strftime(\'_%H:%M:%S\
the error is due to the fact that windows doesn not support charcter "" in the names. Your shuld modify this by replacing "\n" with "".