# Camera set Name and Path

**URL:** <https://forums.fusetools.com/t/camera-set-name-and-path/7662>\
**Category:** How-to Discussions\
**Created:** [March 2, 2019, 2:29pm UTC](https://forums.fusetools.com/t/camera-set-name-and-path/7662 "2019-03-02T14:29:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arnold\_Krieger](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@Arnold\_Krieger](https://forums.fusetools.com/u/Arnold_Krieger)\
**Post date:** [March 2, 2019, 2:29pm UTC](https://forums.fusetools.com/t/camera-set-name-and-path/7662/1 "2019-03-02T14:29:02Z")

</div>

```
function capturePhoto() {
				Camera.capturePhoto()
					.then(function (photo) {

						photo.save()
							.then(function(filePath) {
								console.log("Photo saved to: " + filePath);
								photo.release();
							})
							.catch(function(error) {
								console.log("Failed to save photo: " + error);
								photo.release();
							});
					})
					.catch(function (error) {
						console.log("Failed to capture photo: " + error);
					});
			}

```

I would like to change the filepath and the name of the photo. how does it work?

---

<div class="post-metadata">

**Author:** ![aeq](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/aeq/32/129_2.png) [@aeq](https://forums.fusetools.com/u/aeq)\
**Post date:** [March 3, 2019, 12:20pm UTC](https://forums.fusetools.com/t/camera-set-name-and-path/7662/2 "2019-03-03T12:20:36Z")

</div>

I think you would need to read that filepath with FileSystem, then write a copy with your new file location and name: [https://fuseopen.com/docs/fuse/filesystem/filesystemmodule.html](https://fuseopen.com/docs/fuse/filesystem/filesystemmodule.html)
