You are not logged in.
Pages: 1
What is the correct way to get the original file name, before rules execution? Is it WideExtractFileName(FilePath)?
My problem is: I'd like to check if the target file name exists and is newer than the one being renamed, and if so, cancel the rename (by assigning original file name to FileName variable).
The current setup is:
1. Remove certain substring from file name.
2. Execute script which checks dates and optionally cancels the renaming.
Is it OK?
Last edited by azarubkin (2017-03-17 12:57)
Offline
What is the correct way to get the original file name, before rules execution? Is it WideExtractFileName(FilePath)?
That is correct.
The current setup is:
1. Remove certain substring from file name.
2. Execute script which checks dates and optionally cancels the renaming.
Is it OK?
Yes, that is absolutely fine.
Have you experienced any issues?
Offline
No, just wanted to make sure I'm doing everything right :-)
Offline
Pages: 1