Hi all,
I would like to rename a lot of file names.
I use the following command to extract the file name:
So, if I change the variable MyFileName, how can I update the filename of the file itself.
My idea is:
1) Open the file.
2) Extract the file name.
3) Change the file name.
4) ?????????.
5) Close the file.
Does someone have any idea which steps I should follow at item 4 to achieve this.
Thanks in advance.
Johan
I would like to rename a lot of file names.
I use the following command to extract the file name:
Code:
MyFileName = ExtractFileName(OpenDialog->FileName);
So, if I change the variable MyFileName, how can I update the filename of the file itself.
My idea is:
1) Open the file.
2) Extract the file name.
3) Change the file name.
4) ?????????.
5) Close the file.
Does someone have any idea which steps I should follow at item 4 to achieve this.
Thanks in advance.
Johan