Autonumber saving the last used number for later use
Posted: Wed Jan 15, 2020 3:56 pm
Hi,
I'm trying to periodically (25sec) rename files dropped in a folder by an FTP process:
- Number them sequentially with a total of eight numbers (e.g. 00000001, 00000002);
- Remove the rest of the filename including the extension;
- Saving the last autoincrement number is a file for later runs.
Everything works, only thing missing is the variable for the number and saving this to a file.
Is there a variable or an exit code i can use for storing the number ?
I'm trying to periodically (25sec) rename files dropped in a folder by an FTP process:
- Number them sequentially with a total of eight numbers (e.g. 00000001, 00000002);
- Remove the rest of the filename including the extension;
- Saving the last autoincrement number is a file for later runs.
Everything works, only thing missing is the variable for the number and saving this to a file.
Is there a variable or an exit code i can use for storing the number ?