WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect

Hello,

I used Sen2Cor to correct file with name like:
S2A_OPER_PRD_MSIL1C_PDMC_20160526T164051_R121_V20160526T082013_20160526T082013_SXA.SAFE
I got error message below.
It’s happens just to file with file name as above.
There is no problem with file with name like: S2B_MSIL1C_20190426T081609_N0207_R121_T36SXA_20190426T104931.SAFE

Please Help.

Thanks in advance

Rachel.

Somehow it looks like that your path with some characters sen2core cannot handle:
image

Also it contains two time ‘.SAFE’.
image

I don’t know how this happens or how to fix it. But maybe it helps you to solve this issue.

Thank you very much.
I thought so but, the path is:
C:\Users\User\Sen2Cor-02.08.00-win64\L2A_Process S2A_OPER_PRD_MSIL1C_PDMC_20160526T164051_R121_V20160526T082013_20160526T082013_SXA.SAFE --resolution=10
and as you see the origin name not contains two times ‘.SAFE’
image
It’s look like the Sen2Cor creates this file name with two times ‘SAFE’

Using an older version of SEN2COR solved this issue for me (Sen2Cor-02.05.05 for instance)