Re: How to read and write INI file, or access windows API functions?
- From: "mayayana" <mayayanaXX1a@xxxxxxxxxxxxxxxx>
- Date: Mon, 27 Feb 2006 16:58:37 GMT
You can read INIs with basic Textstream operations.
They're just text files. Or see here for an INI class:
http://www.jsware.net/jsware/scripts.php3#classpk
There is one small catch, though: The system does not
immediately recognize INI updates (in case you're editing
system INIs). With API you can "flush" the update if necessary,
but VBS can't realistically use the API. (...Stand by for
mr. unreliable's addendum to that staement. :)
Is that possible to call windows API functions by using VBScript?
I am trying to read an INI file from VBScript through CScript window 2000
host.
Thanks
Michael
.
- Follow-Ups:
- Re: How to read and write INI file, or access windows API functions?
- From: mr_unreliable
- Re: How to read and write INI file, or access windows API functions?
- From: Tim Munro
- Re: How to read and write INI file, or access windows API functions?
- References:
- Prev by Date: Re: Powr Management and vbs script.
- Next by Date: Re: Searching for expired by date accounts in AD
- Previous by thread: Re: How to read and write INI file, or access windows API functions?
- Next by thread: Re: How to read and write INI file, or access windows API functions?
- Index(es):
Relevant Pages
|