MoveFile
基本解释
- n.移动文件
英汉例句
- If the target structure does not exist when MoveFile is called, it will be created.
如果调用MoveFile时目标结构不存在,将创建该结构。 - The MoveFile function moves an existing file or a directory, including its children.
而且我也试了;利用这个函数确实可以移动文件夹;但新的位置必须要在同一磁盘下. - The MoveFile function will move (rename) either a file or a directory (including its children) either in the same directory or across directories.
函数会移动(重命名)文件或目录(包含子文件或目录),无论在同一目录或跨越目录。 - The one caveat is that the MoveFile function will fail on directory moves when the destination is on a different volume.
一个小警告,该函数会失败,如果欲移动目录目的在另一个卷上。 - If a file is moved across volumes, MoveFile does not move the security descriptor with the file. The file will be assigned the default security descriptor in the destination directory.
如果文件移动跨卷,函数不会移动安全描述符。文件会被分配目的目录的默认安全描述符。