# How to use a pde file in multiple projects

**URL:** https://discourse.processing.org/t/how-to-use-a-pde-file-in-multiple-projects/1714
**Category:** Project Guidance
**Created:** [July 12, 2018, 12:49pm UTC](https://discourse.processing.org/t/how-to-use-a-pde-file-in-multiple-projects/1714 "2018-07-12T12:49:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![malcolm\_gc](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/malcolm_gc/32/694_2.png) [@malcolm\_gc](https://discourse.processing.org/u/malcolm_gc)
#### Post date: [July 12, 2018, 12:49pm UTC](https://discourse.processing.org/t/how-to-use-a-pde-file-in-multiple-projects/1714/1 "2018-07-12T12:49:13Z")

</div>

[How can I make an include file for my scripts - SOLVED THANKS](https://discourse.processing.org/t/how-can-i-make-an-include-file-for-my-scripts-solved-thanks/1569/2) gave me answer for including pde files in a project file.pde in the same directory gets automagically added. BUT

What about when I want to use file.pde in multiple projects, I thought I might be able to place it in the projects directory and all child directories would have access to it, but that didn’t work. So I looked on the web and there was stuff about classes and import and … but nothing I recgonised as an answer.

So I would like to put a file.pde somewhere and then have multipe projects make use of that file like C allows you to have an include ./file.h

* * *

Annoyingly, this is the second time I have written this post, I know I did it because I got a gold star for including a link, but the gold star has disappeared from my history and the original post has disappeared.

---

<div class="post-metadata">

### Author: ![Kevin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kevin/32/2297_2.png) [@Kevin](https://discourse.processing.org/u/Kevin)
#### Post date: [July 12, 2018, 5:32pm UTC](https://discourse.processing.org/t/how-to-use-a-pde-file-in-multiple-projects/1714/2 "2018-07-12T17:32:20Z")

</div>

Side note: you can go here to view all of your posts:

> **[@malcolm\_gc](https://discourse.processing.org/u/malcolm_gc/activity)**
>
> Retired and just playing about.
