# .dat file does not exist

**URL:** <https://discourse.processing.org/t/dat-file-does-not-exist/4651>\
**Category:** Coding Questions\
**Created:** [October 19, 2018, 4:52pm UTC](https://discourse.processing.org/t/dat-file-does-not-exist/4651 "2018-10-19T16:52:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [October 19, 2018, 5:01pm UTC](https://discourse.processing.org/t/dat-file-does-not-exist/4651/2 "2018-10-19T17:01:46Z")

</div>

> [@How to check if a file is exist in data folder by code?](https://discourse.processing.org/t/how-to-check-if-a-file-is-exist-in-data-folder-by-code/589/2):
>
> File f = dataFile("DoIExist.txt"); String filePath = f.getPath(); boolean exist = f.isFile(); println(filePath, exist);

---

_[View the full topic](https://discourse.processing.org/t/dat-file-does-not-exist/4651)._
