File.MoveOnReboot

File.MoveOnReboot ( 

string  Source,

string  Destination )

Description

Moves a file from one location to another on the next system reboot.

Note: On Windows 95/98/ME systems, the destination cannot contain long path or file names, i.e., the destination path must conform to the DOS 8.3 naming convention. Windows NT, 2000, XP and Vista do not suffer from this limitation; however, if your installer needs to run on Windows 95, 98 or ME, you will need to use the DOS 8.3 naming convention to ensure that the action will work for all users."

Parameters

Source

(string) The full path to the file you want to move.

Destination

(string) The full destination path. This is the location you want the file moved to.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions