Hi masters,
I have some Doubts on C# rename activity
Please advise me and resolve this issue with simple c# code

Hi masters,
I have some Doubts on C# rename activity
Please advise me and resolve this issue with simple c# code

Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit MohantyPosted Jul 29, 2024, 10:36 AM
Try this latest one:
Tuhin PaulPosted Jul 31, 2024, 4:57 PM
In this code I have configured Serilog to log to the console and a file. The log file name will have a date suffix and will roll daily. Also
File.Moveis executed inside aTask.Runto make it asynchronous. AlthoughFile.Moveitself is synchronous, usingTask.Runhelps to offload the work to a background thread and fits within an async pattern.RajaduraiPosted Jul 30, 2024, 5:28 AM
Dear amit,
After Manipulating Code, Reaname activity working Fine.
Thank you
Abhishek YadavPosted Jul 30, 2024, 4:53 AM
cannot make file name as ""
RajaduraiPosted Jul 30, 2024, 4:46 AM
Dear amit,
The latest one also not working, it showing No matching PDF file
RajaduraiPosted Jul 30, 2024, 4:37 AM
Hi jithu,
Please find the output
RajaduraiPosted Jul 30, 2024, 4:13 AM
Dear Jithu,
There is no action while run the code and without error
Jithu ThomasPosted Jul 29, 2024, 10:33 AM
can you please share me the output.
RajaduraiPosted Jul 29, 2024, 10:14 AM
Dear Jithu & Amit
i tried both methods not working
Amit MohantyPosted Jul 29, 2024, 9:48 AM
I think the file search pattern "*.data.txt" is incorrect. It should be "*_data.txt" to match files ending with _data.txt.
Jithu ThomasPosted Jul 29, 2024, 9:43 AM
Please try this.