Syntax
CopyFile (szSrcFile, szTargetFile);
Description
The CopyFile function creates a copy of the file specified by szSrcFile. The new file is given the name specified by szTargetFile.
Parameters
| When a wildcard character is included in the filename specified by
szSrcFile, the filename part of szTargetFile is not ignored as in previous
versions of InstallShield Professional; instead, all of szTargetFile is treated as the
target path to which each source file is copied to with its existing name. For example, |
Return values
Comments
WriteProfString ("C:\\Test.ini", "Windows", "KeyboardDelay", "100");
//null string ("") for all four parameters
WriteProfString ("", "", "", "");
//CopyFile should now have access to updated file.
CopyFile ("C:\\Test.ini", "C:\\Temp\\Test.ini");