Sign in to follow this  
Followers 0
temp3r

Find string in .ini and replace the value in front of it

2 posts in this topic

#1 ·  Posted (edited)

I have a file like this:
 

<random text in here>
<random text in here>
<random text in here>
<random text in here>
WTemail@example.com41609=72978

WT41609=2

WTemail@example.com41610=2978

This file is edited everyday automatically by a program that i run what i wanted was to make a script to edit the first line and find the first string:

WTemail@example.com*=

(the value in front of the email gets automatically raised that's why i used a * for a random value then the = )
And edit the value in front of it to 86400...

Anyone knows how to do it?

I started with AutoIt, and i have no idea how to make it..

Edited by zylor

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0