Renaming file not working correctly

image

Anyone know how to make it a .pdf file?

@ukjtenhoven
What is error?
You can use move activity and move to same location and use new file name

2 Likes

@ukjtenhoven,

Can you please tell me which activity you’re using this expression editor so that we can help.
I can suggest you to use “c:\Users\aaa\bbbb\ccc\pdf”+rename+".pdf" inside your Expression Editior.

Thanks,
Arunachalam.

1 Like

Dear Arunachalam,

Thank you for your anwser, I am using the move file activity.

@ukjtenhoven,

I hope this way will help you in the Move Expression “c:\Users\aaa\bbbb\ccc\pdf”+rename+".pdf". If yes, please make this a solution.

Thanks,
Arunachalam

Dear Rahatadi,

There is no error only I am getting this result…

image

But it needs to be a .pdf file.

With kind regards,

Kees-Jan

Dear Arunachalam,

It is working but it creates a space between. Do you now how to fix that perhaps?

image

With kind regards,

Kees-Jan

@ukjtenhoven.

can you please use rename.Trim inside your expression editor.

Thanks,
Arunachalam.

3 Likes

Dear Arunachalam,

Thank you very much!!

With kind regards,

Kees-Jan

@ukjtenhoven,

Is there another issue your facing? if no make that in your solution :grinning: .

thanks,
Arunachalam.

No that was everything thank you very much!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.