MoveFile
基本解釋
- n.移動(dòng)文件
英漢例句
- If the target structure does not exist when MoveFile is called, it will be created.
如果調(diào)用MoveFile時(shí)目標(biāo)結(jié)構(gòu)不存在,將創(chuàng)建該結(jié)構(gòu)。 - The MoveFile function moves an existing file or a directory, including its children.
而且我也試了;利用這個(gè)函數(shù)確實(shí)可以移動(dòng)文件夾;但新的位置必須要在同一磁盤下. - The MoveFile function will move (rename) either a file or a directory (including its children) either in the same directory or across directories.
函數(shù)會(huì)移動(dòng)(重命名)文件或目錄(包含子文件或目錄),無論在同一目錄或跨越目錄。 - The one caveat is that the MoveFile function will fail on directory moves when the destination is on a different volume.
一個(gè)小警告,該函數(shù)會(huì)失敗,如果欲移動(dòng)目錄目的在另一個(gè)卷上。 - 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.
如果文件移動(dòng)跨卷,函數(shù)不會(huì)移動(dòng)安全描述符。文件會(huì)被分配目的目錄的默認(rèn)安全描述符。