NotebookSave
NotebookSave[notebook]
saves the current version of the specified notebook.
NotebookSave[notebook,"file"]
saves the notebook in the specified file.
saves the current version of the current evaluation notebook in a file.
Details and Options
- notebook must be a NotebookObject expression. "file" should be an absolute pathname.
- NotebookSave[notebook] saves the notebook in a file whose name is given by the notebook object notebook.
- NotebookSave writes out the Wolfram Language expression corresponding to the notebook, together with Wolfram Language comments which make it easier for the front end to read the notebook in again.
- NotebookSave[notebook,"file"] overwrites file without warning if it exists.
- NotebookSave[notebook,File["file"]] is also supported.
- If the option setting Interactive->True is given, the front end will prompt the user to select a file name for the notebook.
Examples
open allclose all
Wolfram Research (1996), NotebookSave, Wolfram Language function, https://reference.wolfram.com/language/ref/NotebookSave.html (updated 2023).
Text
Wolfram Research (1996), NotebookSave, Wolfram Language function, https://reference.wolfram.com/language/ref/NotebookSave.html (updated 2023).
CMS
Wolfram Language. 1996. "NotebookSave." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2023. https://reference.wolfram.com/language/ref/NotebookSave.html.
APA
Wolfram Language. (1996). NotebookSave. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NotebookSave.html