Zoomed Image

AMSX Scripting Language - Command : CopyFileTouch

Summary

Copy a file and update the target file's timestamp

Description

Copies a file to the target path and then updates the target's last-modified timestamp to the current time. Useful when downstream processes detect file changes by timestamp.

Parameters

ParameterDescription
cmdSource file path
Argument 0Target file path

Syntax


CopyFileTouch "Source file path", "Target file path"

Return to the AMSX Command Reference