# Script to edit ini file

**URL:** https://forum.kirupa.com/t/script-to-edit-ini-file/140327
**Category:** Uncategorized
**Created:** [March 10, 2005, 4:05am UTC](https://forum.kirupa.com/t/script-to-edit-ini-file/140327 "2005-03-10T04:05:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![crewman747](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@crewman747](https://forum.kirupa.com/u/crewman747)
#### Post date: [March 10, 2005, 4:05am UTC](https://forum.kirupa.com/t/script-to-edit-ini-file/140327/1 "2005-03-10T04:05:55Z")

</div>

hey guys,

I would like to parse an ini file, but keep getting an error because im using non-alphabetical characters. Here’s a sample file:

```auto

[first section]
site = good <a href=http://kirupa.com>tutorials</a>

```

Is there a script that will just automatically put a (") mark around the content of site so its like:

```auto

site="good <a href=http://kirupa.com>tutorials</a>"

```

any ideas on how to do it.

thanks guys,

pat

EDIT\* i may be posting in the wrong forum…sorry
