When resampling a S2 product using the S2 resampling Processor, I get an error and the processing fails

When resampling a S2 product using the S2 resampling Processor, I get an error and the processing fails.
A problem occurred during the target product processing.Type: OperatorException
Message: Not able to write product file:
‘E:\chongcai\S2A MSIL2A 20220722T023541 N0400 R089 T50RQP 20220722T072407 s2resampled.dim’

and I didn’t find the s2tbx.properties in my snap/etc.

Summary

This text will be hidden

Hello @yaoyao,
What is your SNAP version? With SNAP 9, the file C:\Users\username_name.snap\etc\s2tbx.properties is created when SNAP is started.

Hello,I am very pleased to receive your reply.
My SNAP version is SNAP 9, it’s very strange that I didn’t find the the file C:\Users\username_name.snap\etc\s2tbx.properties.After that, I downloaded 10.0.Similarly ,there is no.I don’t know if it’s because I put them all on the file Data(D:)>LeStoreDownload>snap>esa-snap>etc

If you moved the .snap folder to a different location that the user’s directory, then the SNAP 9 s2tbx.properties file is created in this new location.
Note: In SNAP 10, this file has been renamed to opttbx.properties.