Computing.Net > Forums > Programming > batch file read ini write to regist

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

batch file read ini write to regist

Reply to Message Icon

Name: alex_hill
Date: February 20, 2008 at 15:24:49 Pacific
OS: XP
CPU/Ram: na
Product: Ipex
Comment:

I am trying to get a batch file to read a .ini file with settings in it, then write those settings to the registry. The file looks like this:

[Email Settings]
Name=Firtname Surname
Email=name@email.com
Outgoing Server=server.mydomain
Incoming Server=server.mydomain

I am hoping to set up their email accounts on login using the script (dont mention roaming profiles, the powers that be have not let me access that sort of thing and I work for a government department, so I will never get access).

Any help is greatly appreciated.



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: February 20, 2008 at 18:32:23 Pacific
Reply:

It's possible, if a bit messy. However, since you haven't specified an email client, I'm forced to assume you're using OE, and I avoid OE like the plague it is. As such, I have no knowledge of its registry settings.


0

Response Number 2
Name: alex_hill
Date: March 2, 2008 at 22:09:01 Pacific
Reply:

I am using Outlook 2003, I just made the batch file call a vbs file, which created a reg file which was run on the local computer. very messy, but it did the job.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


setting excel security in... VB6 Shell command closing...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: batch file read ini write to regist

Batch File - values from txt to var www.computing.net/answers/programming/batch-file-values-from-txt-to-var/16974.html

Need to read ini and more... www.computing.net/answers/programming/need-to-read-ini-and-more/9556.html

Batch File to Change Database .ini www.computing.net/answers/programming/batch-file-to-change-database-ini/14429.html