Zoomed Image

AMSX Scripting Language - Command : Touch

Summary

Update a file's last-modified timestamp to the current time

Description

Sets the last-modified timestamp of the specified file to the current date and time without modifying the file contents. Useful for triggering file-watcher processes that detect changes by timestamp.

Parameters

ParameterDescription
cmdPath of the file to touch

Syntax


Touch "Path of the file to touch"

Return to the AMSX Command Reference