Sen2Cor 2.8 in the windows command line

In general to call the sen2cor from the console, you should add it your path, it seems that you didn’t add it,

I don’t know how it runs properly before as you said!

Add sen2cor to your path as below,

recall it by adding up the directory of your input,

L2A_Process.bat --resolution 20 --GIP_L2A /D:/S2.