In some instances, you may want to create a target folder if it does not already exist. You can use the following plugin to accomplish this task:
//-----start code ----
String path= context.get("fPath"); \\Example: fPath = D:\MMM\Test2\1\Test3
File f = new File(path);
//----- end code-------
Note: fPath is the variable where you have to store the directory path which you want to create.
Article is closed for comments.