# \#settings

**URL:** https://discourse.slicer.org/tag/settings/541.md

[Latest](https://discourse.slicer.org/latest.md) · [Categories](https://discourse.slicer.org/categories.md) · [Tags](https://discourse.slicer.org/tags.md)

---

## [How to set the .ini file's entries beofre build?](https://discourse.slicer.org/t/how-to-set-the-ini-files-entries-beofre-build/45078)

<div class="topic-metadata">

**Author:** [@Victor\_Wayne](https://discourse.slicer.org/u/Victor_Wayne)\
**Replies:** 0\
**Last updated:** [November 14, 2025, 10:21am UTC](https://discourse.slicer.org/t/how-to-set-the-ini-files-entries-beofre-build/45078 "2025-11-14T10:21:17Z")

</div>

Hello, I am currently using \`slicer.app.slicerUserSettingsFilePath()\` function to get the .ini file path when slicer is running and setting some entries. For example I set NumberOfFilesToKeep entry in the logging sectio…
