# Replace content function does not work with batchPlay

**URL:** <https://forums.creativeclouddeveloper.com/t/replace-content-function-does-not-work-with-batchplay/5503>\
**Category:** UXP Developer Tool\
**Created:** [November 16, 2022, 12:49am UTC](https://forums.creativeclouddeveloper.com/t/replace-content-function-does-not-work-with-batchplay/5503 "2022-11-16T00:49:33Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![tomzag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/tomzag/32/2464_2.png) [@tomzag](https://forums.creativeclouddeveloper.com/u/tomzag)\
**Post date:** [November 16, 2022, 3:17pm UTC](https://forums.creativeclouddeveloper.com/t/replace-content-function-does-not-work-with-batchplay/5503/5 "2022-11-16T15:17:48Z")

</div>

> Without file picker you can access only 3 folders:
> 
> ```
> getTemporaryFolder()
> getDataFolder()
> getPluginFolder()
> 
> ```

With the new FileSystem API it’s possible to read/write without file picker: [https://developer.adobe.com/photoshop/uxp/2022/uxp/reference-js/Modules/FileSystem/](https://developer.adobe.com/photoshop/uxp/2022/uxp/reference-js/Modules/FileSystem/)

It requires manifest version 5 and PS 24.0.0.

In the manifest also declare:

```auto
"requiredPermissions": {
  "localFileSystem": "fullAccess"
}

```

---

_[View the full topic](https://forums.creativeclouddeveloper.com/t/replace-content-function-does-not-work-with-batchplay/5503)._
