Open in a macro a folder created in a first step of the macro


I am a beginner with fiji and imagej and don’t have any formation and experience on it ,so my question may be stupid.
For my internship i need to compile 3 macro the 2 first one are already compile i choose a folder and the macro found some information on the picture (QR code …) and create folder with color corrected picture to compile the third macro i need a command for open the previously created folder (which have a different name each time with date and time).

thanking you in advance