OverwriteTarget

OverwriteTarget

是类似于函数 CopyFile 的选项,指定如果目标文件已存在是否进行覆盖.

更多信息

  • 典型设置包括:
  • Automatic自动设置
    False如果需要覆盖已存在的内容,则运算失败
    True覆盖已存在的内容

范例

基本范例  (1)

创建一个文件:

复制文件至新的位置:

OverwriteTarget->False 复制回文件失败:

使用 OverwriteTarget->True 覆盖已存在的文件:

Wolfram Research (2016),OverwriteTarget,Wolfram 语言函数,https://reference.wolfram.com/language/ref/OverwriteTarget.html.

文本

Wolfram Research (2016),OverwriteTarget,Wolfram 语言函数,https://reference.wolfram.com/language/ref/OverwriteTarget.html.

CMS

Wolfram 语言. 2016. "OverwriteTarget." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/OverwriteTarget.html.

APA

Wolfram 语言. (2016). OverwriteTarget. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/OverwriteTarget.html 年

BibTeX

@misc{reference.wolfram_2024_overwritetarget, author="Wolfram Research", title="{OverwriteTarget}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/OverwriteTarget.html}", note=[Accessed: 17-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_overwritetarget, organization={Wolfram Research}, title={OverwriteTarget}, year={2016}, url={https://reference.wolfram.com/language/ref/OverwriteTarget.html}, note=[Accessed: 17-November-2024 ]}