Ensure your have pre command script for validating the folder before the Informatica generates the dynamic file in folder,so if the folder doesn't exist the script will handle to create according to the target object name
How can we ensure to create a directory based on field value which is coming from the source(Can be dynamic)? is there a way to handle this Target Transformation? please suggest.
In that case you can populate the values in parameter file and use it in post script to create the folder based on the input/