win32api.MoveFile

MoveFile(srcName, destName)

Renames a file, or a directory (including its children).

Parameters

srcName : string

The name of the source file.

destName : string

The name of the destination file.

Comments

This method can not move files across volumes.

Win32 API References

Search for MoveFile. at msdn, google or google groups.