Description
Rename a file on the hard drive and add a timestamp to the new file.
The timestamp will be added as a prefix to the filename in the following format:
YYMMDD_HHMMSS_filename.extension
This is the equivalent of the combination of a move and a rename function in the File Explorer.
Syntax
designer.renameTimestamped("FILE SOURCE");
Parameters
Parameter | Type | Description |
---|---|---|
FILE SOURCE |
String | Filepath to the source file |
Return
This function does not return anything.
Need more help with this?
Don’t hesitate to contact us here.