Six Stars

how can we create folder dynamically

hi all,
I want to create a folder dynamically with current date.
and then need to copy the source data.
for example we should create folder every friday. and need to load data form last saturday to this friday.
like this we have to create folder every week on friday with that date.
Raghunath Lingutla
3 REPLIES
One Star

Re: how can we create folder dynamically

Hi
When you set the file path in any component, you can insert a context variable as String to path String.
For example, the setting looks like "E:/NewWS"+context.date+"/in.csv".
Regards,
Pedro
Six Stars

Re: how can we create folder dynamically

thank u pedro for ur reply.
can u help me by giving screen shot example
Raghunath Lingutla
One Star

Re: how can we create folder dynamically

Hi
Because of limited info about your job logic, I don't know to use which output component to show you.

Regards,
Pedro