NotebookFileName

NotebookFileName[]

给出当前计算笔记本的文件名.

NotebookFileName[nb]

给出 nb 指定的笔记本的文件名.

更多信息

范例

基本范例  (1)

创建一个笔记本并保存到一个文件中,并且打开文件:

求出笔记本所在的文件名:

关闭笔记本并删除文件:

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

文本

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_notebookfilename, author="Wolfram Research", title="{NotebookFileName}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/NotebookFileName.html}", note=[Accessed: 03-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_notebookfilename, organization={Wolfram Research}, title={NotebookFileName}, year={2008}, url={https://reference.wolfram.com/language/ref/NotebookFileName.html}, note=[Accessed: 03-December-2024 ]}