I want to simply use a CDF deploy to export a text file onto the notebook directory CDFDeploy["ExportCDF", SetDirectory[NotebookDirectory[]]; Button["Export", Export["new.txt&| Mathematica Stack Exchange