# How do I append to the include path using .rootrc or rootlogon.C?

**URL:** <https://root-forum.cern.ch/t/how-do-i-append-to-the-include-path-using-rootrc-or-rootlogon-c/49506>\
**Category:** Newbie\
**Created:** [April 7, 2022, 7:31am UTC](https://root-forum.cern.ch/t/how-do-i-append-to-the-include-path-using-rootrc-or-rootlogon-c/49506 "2022-04-07T07:31:14Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [April 7, 2022, 3:17pm UTC](https://root-forum.cern.ch/t/how-do-i-append-to-the-include-path-using-rootrc-or-rootlogon-c/49506/4 "2022-04-07T15:17:50Z")

</div>

You can put there whatever you want.

> [@rootlogon.C documentation](https://root-forum.cern.ch/t/rootlogon-c-documentation/49150/2):
>
> In any ROOT version (also in ROOT 5), either an “unnamed” macro (I somehow remember that the “{” needed to be the very first line in an “unnamed” macro): { // ... } or a “named” macro: void rootlogon() { // ... }

---

_[View the full topic](https://root-forum.cern.ch/t/how-do-i-append-to-the-include-path-using-rootrc-or-rootlogon-c/49506)._
