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.
如果文件移動跨卷,函數不會移動安全描述符。文件會被分配目的目錄的默認安全描述符。