[{"data":1,"prerenderedAt":196},["ShallowReactive",2],{"/dict/set-current-directory":3,"/dict/set-current-directory-surround":185},{"id":4,"title":5,"body":6,"description":152,"extension":153,"meta":154,"navigation":172,"path":181,"seo":182,"stem":183,"__hash__":184},"content/dict/set-current-directory.md","NetLogo Dictionary: set-current-directory",{"type":7,"value":8,"toc":141},"minimark",[9],[10,11,16,35,58,93,96,99,102],"div",{"className":12,"id":14,"role":15},[13],"dict_entry","set-current-directory","region",[17,18,20],"h3",{"id":19},"set-current-directory20",[21,22,26,27],"a",{"href":23,"role":24,"ariaLabel":25},"#set-current-directory","doc-noteref","Reference to set-current-directory","\nset-current-directory\n",[28,29,34],"span",{"className":30,"role":32,"ariaLabel":33},[31],"since","note","Since version","\n2.0\n",[36,37,41],"h4",{"id":38,"className":39},"set-current-directory-string",[40],"section-heading",[21,42,46],{"className":43,"href":45},[44],"section-anchor","#set-current-directory-string",[28,47,50],{"className":48},[49],"prim_example",[51,52,53,54],"p",{},"set-current-directory ",[55,56,57],"em",{},"string",[51,59,60,61,73,74,83,84,92],{},"Sets the current directory that is used by the primitives ",[62,63,65],"primitive",{"displayText":64,"permalink":64},"file-delete",[21,66,64],{"className":67,"dataDisplayText":64,"href":69,"rel":70,"target":72,"title":64},[68],"netlogo-wiki-link","/dictionary#file-delete",[71],"noopener","_self",", ",[62,75,78],{"displayText":76,"permalink":77},"file-exists?","file-exists",[21,79,76],{"className":80,"dataDisplayText":76,"href":81,"rel":82,"target":72,"title":76},[68],"/dictionary#file-exists",[71],", and ",[62,85,87],{"displayText":86,"permalink":86},"file-open",[21,88,86],{"className":89,"dataDisplayText":86,"href":90,"rel":91,"target":72,"title":86},[68],"/dictionary#file-open",[71],".",[51,94,95],{},"The current directory is not used if the above commands are given\nan absolute file path. This is defaulted to the user’s home\ndirectory for new models, and is changed to the model’s\ndirectory when a model is opened.",[51,97,98],{},"Note that in Windows file paths the backslash needs to be escaped\nwithin a string by using another backslash “C:”",[51,100,101],{},"The change is temporary and is not saved with the model.",[103,104,105],"pre",{},[106,107,108,113,114,118,121,126,128,113,131,135,137],"code",{},[28,109,14],{"className":110},[111,112],"token","command"," ",[28,115,117],{"className":116},[111,57],"\"C:\\NetLogo\"",[119,120],"br",{},[28,122,125],{"className":123},[111,124],"comment",";; Assume it is a Windows Machine",[119,127],{},[28,129,86],{"className":130},[111,112],[28,132,134],{"className":133},[111,57],"\"my-file.txt\"",[119,136],{},[28,138,140],{"className":139},[111,124],";; Opens file \"C:\\NetLogo\\my-file.txt\"",{"title":142,"searchDepth":143,"depth":144,"links":145},"",5,3,[146],{"id":19,"depth":144,"text":147,"children":148},"\nset-current-directory\n\n2.0\n",[149],{"id":38,"depth":150,"text":151},4,"set-current-directory string","Documentation for the set-current-directory primitive.","md",{"source":155,"metadataOutputPath":156,"projectConfig":157,"language":164,"inheritFrom":173,"output":172,"version":158,"layout":174,"dictionaryDisplayName":175,"dictionaryHomeDirectory":176,"indexFileURI":177,"currentItemId":14,"currentItemLabel":14,"primRoot":178,"icon":179,"assetsRoot":180},"autogen/dict/set-current-directory.md","content/dict/set-current-directory.metadata.yaml",{"version":158,"projectRoot":92,"scanRoot":159,"outputRoot":160,"defaults":161,"engine":167,"partials":168,"dedupeIdenticalDiskWrites":172},"7.0.4","autogen","content",{"inheritFrom":162,"language":164,"output":165,"extension":153,"title":166,"version":158},[163],0,"en",false,"NetLogo User Manual","handlebars",{"directoryPaths":169,"extensions":170},[92],[171,153],"mustache",true,[163],"catalog","NetLogo Dictionary","/dictionary.html","/_index/dict.txt","dict","i-lucide-square-code","/home/runner/work/Helio/Helio/apps/docs/autogen","/dict/set-current-directory",{"title":5,"description":152},"dict/set-current-directory","AWhwCLhGMBHpZW6ffOtpZsyB6YuCg8Ucd6yZhwPpEjk",[186,191],{"title":187,"path":188,"stem":189,"description":190},"NetLogo Dictionary: set","/dict/set","dict/set","Documentation for the set primitive.",{"title":192,"path":193,"stem":194,"description":195},"NetLogo Dictionary: set-current-plot","/dict/set-current-plot","dict/set-current-plot","Documentation for the set-current-plot primitive.",1777657836794]