# Sen2Cor Standalone Change Folder where cfg/ log/ and s2c looks for DEM

I can’t figure out how to change the default folder from C:\Users\username\Documents\sen2cor that holds the cfg\ and log\ dir, I thought it might be the SEN2COR_HOME env variable, but the standalone Sen2Cor doesn’t appear to use that env variable, seems to be used when using sen2cor as a SNAP plugin. I would like to have the sen2cor standalone be self-contained and not rely on the user folder for this. Is it possible to configure where this directory is set? Thanks.

you can look at L2A_Process (shell script) or L2A_Process.bat. environment variables are set there.

1 Like

Thanks very much, that was exactly what I was looking for.