file.touchPath

Syntax file.touchPath (path)

Params path is a file system path to a file or folder whose path you want to touch.

Action Sets the mod date on the file and all containing folders to the current date.

Returns false

Examples file.touchPath ("C:\\Program Files\\Frontier\\sample.txt") //don't be fooled; it worked
false

Notes This verb is implemented as a script.

On Windows you can't set the mod date of a folder, so the verb fails. 11/22/01 by DW.

See Also file.modified

file.setModified

Discuss