The MoveFile method renames/moves an existing file or a directory (including all its children).
Kernel.MoveFile (ExistingFileName as String, NewFileName as String)
| Where | Type | Optional | Default | Description |
|---|---|---|---|---|
| ExistingFileName | String | The name of an existing file to move/rename. | ||
| NewFileName | String | The name of the new file. |
This function calls MoveFile Win32 API function (kernel32)
CloseHandle, CopyFile, CreateProcess, DeleteFile, GetFileSize, MoveFile, Sleep, SwitchToThread, WaitForSingleObject
CommandLine, ComputerName, CurrentDirectory, CurrentProcess, CurrentThread, EnvironmentStrings, EnvironmentVariables, hrCounter, hrFrequency, hrTimeCounter, TempPath, TickCount
COM API for calling some of Kernel32 functions.
© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz