Thank you so much, Alexey and wojket. However, it seems to be still giving me the same error if I add the ".xyz". I have tried ".txt" and ".pts" as well, to no avail.
Is it perhaps something to do with the ".xyz" being on the line below the file name?
"
Error: Can't create file: The filename, directory name, or volume label syntax is incorrect (123): E:/1_MTO_HIIFP/2_Field_Surveys/2_LensDistortionTest/06-08-2019/BatchProcessing/2_All_Photos_Correct/4_Dense/18_Rec_P_DOWN_10m
.xyz
"
Thanks again,
KR