Previous Topic: ApplyKeyNext Topic: ApplyMappedKey


ApplyMappedFile

ApplyMappedFile

Applies a file from the source to the destination computer. If any of the file's data specifies a directory path, it is mapped to the appropriate path.

First parameter:

The File path (string value)

Second parameter:

The new File name (string value)

Third parameter:

The overwrite method (string value)

Usage:
ApplyMappedFile(<File name>, [overwrite method]); or
ApplyMappedFile(<File name>, <new File name>, [overwrite method]);
Examples:
ApplyMappedFile("c:\\temp\\file.txt");
ApplyMappedFile("c:\\My Documents\\file.txt", "c:\\New Path\\Word Documents\\file.txt", ALWAYS);