Hi everyone,
I used a dataport to export some data and another one to import the generated file.
I need to rename the file after importing the data.
I tried the following code in the OnPostDataport trigger:
FILE.RENAME(C:\Users\aaa\bbb\ddd.txt ,C:\Users\aaa\bbb\yyy.txt );
I got the following error:
You cannot use the file C:\Users\aaa\bbb\ddd.txt because it is already in use.
What shall I do?
Thanks in advance
Comments
Here is ans. for you
Regards,
Yukon