copynewerfile
SOURCE
,
DESTINATION

The copynewerfile statement copies a file to another name or location. However, the file is only copied if it is newer than the old file, otherwise the destination is not touched.


Parameters

This statement has two parameters:

source – Path and filename of original file.

destination – Path and filename of copied file.


Description

This statement copies a file to another name or location. However, the file is only copied if it is newer than the old file, otherwise the destination is not touched.

This example copies the file “Christmas.jpg” to another folder.

copynewerfile "My Drive:Christmas.jpg","My Drive:Cards:Christmas.jpg"

This example makes a copy of the file “Raw Data.txt”, which must be in the same folder as the current database.

copynewerfile "Raw Data.txt","Copy of Raw Data.txt"

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.