# How to setup sketch path in atom.io?

**URL:** <https://discourse.processing.org/t/how-to-setup-sketch-path-in-atom-io/8191>\
**Category:** Processing\
**Created:** [February 7, 2019, 6:06pm UTC](https://discourse.processing.org/t/how-to-setup-sketch-path-in-atom-io/8191 "2019-02-07T18:06:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomblyBones](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@TomblyBones](https://discourse.processing.org/u/TomblyBones)\
**Post date:** [February 7, 2019, 6:06pm UTC](https://discourse.processing.org/t/how-to-setup-sketch-path-in-atom-io/8191/1 "2019-02-07T18:06:49Z")

</div>

Okay so I would like to start using processing in [atom.io](http://atom.io) but whenever I try to run the code it tells me I need to specify a sketch folder with this “–sketch=/full/path/to/your/sketch/dir” however I am unsure of what this means, and I also am unsure of where to type this… It then goes on to say “Not a valid sketch folder. F:\Coding\processing-3.5.2\processing-3.5.2.pde does not exist.”

If anyone could tell me what this means or has any advice or solutions it would be much-appreciated thanks \<3

here is the full thing (BTW I went to the website… was not much help):

Command line edition for Processing 0268 (Java Mode)

–help Show this help text. Congratulations.

–sketch= Specify the sketch folder (required)  
–output= Specify the output folder (optional and  
cannot be the same as the sketch folder.)

–force The sketch will not build if the output  
folder already exists, because the contents  
will be replaced. This option erases the  
folder first. Use with extreme caution!

–build Preprocess and compile a sketch into .class files.  
–run Preprocess, compile, and run a sketch.  
–present Preprocess, compile, and run a sketch in presentation mode.

–export Export an application.  
–no-java Do not embed Java. Use at your own risk!  
–platform Specify the platform (export to application only).  
Should be one of ‘windows’, ‘macosx’, or ‘linux’.

The --build, --run, --present, or --export must be the final parameter  
passed to Processing. Arguments passed following one of those four will  
be passed through to the sketch itself, and therefore available to the  
sketch via the ‘args’ field. To pass options understood by PApplet.main(),  
write a custom main() method so that the preprocessor does not add one.

> **[processing/processing](https://github.com/processing/processing/wiki/Command-Line)**
>
> Source code for the Processing Core and Development Environment (PDE) - processing/processing

Not a valid sketch folder. F:\Coding\processing-3.5.2\processing-3.5.2.pde does not exist.

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [February 8, 2019, 12:13am UTC](https://discourse.processing.org/t/how-to-setup-sketch-path-in-atom-io/8191/2 "2019-02-08T00:13:28Z")

</div>

processing needs the

> sketch path

so when you say your processing work will be under

> F:\Coding\processing

you actually need

```auto
F:\Coding\processing\sketchbook
F:\Coding\processing\sketchbook\libraries
F:\Coding\processing\sketchbook\<mywork>
F:\Coding\processing\sketchbook\<mywork>\<myproject>
F:\Coding\processing\sketchbook\<mywork>\<myproject>\<myproject>.pde

```

the \< mywork \> folder structure is optional but recommended,  
the \< myproject \> is **folder and filename same** for your sketch  
so the last one is the pde file what contains your code  
and the PATH would then be

> F:\Coding\processing\sketchbook\<mywork\>\<myproject\>

and to start processing from commandline would be  
`processing-java --sketch=F:\Coding\processing\sketchbook\<mywork>\<myproject> --force --run`

example show  
linux Geany IDE  
last line show config to run processing  
[![](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/c/c1357debd9056278f2d971f4c191f099420a3f1a.png) ](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/c/c1357debd9056278f2d971f4c191f099420a3f1a.png)

---

<div class="post-metadata">

**Author:** ![TomblyBones](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@TomblyBones](https://discourse.processing.org/u/TomblyBones)\
**Post date:** [February 10, 2019, 2:47pm UTC](https://discourse.processing.org/t/how-to-setup-sketch-path-in-atom-io/8191/3 "2019-02-10T14:47:08Z")

</div>

Thanks for the reply I’ll make sure to test it out I’ll LYK if it works \<3
