>Hi all,
>
>An associate has just posed a question about the WSH that I'm confident *someone* here knows.
>
>Can the WSH manipulate values in existing INI files, and if so, what would be a *basic* syntax to do so? (reason: they have an INI file controlling an app that contains an output location, and they want to repeatedly change that location programmatically before firing an instance of the app).
>
>TIA,
Evan,
The WSH has no intrinsic functionality for ini files. You'd have to use the Scripting.FileSystemObject's TextStream Object and parse the file to read or write a specific value.
If using VFP, I'd stick with the API calls for this sort of thing.
George
Ubi caritas et amor, deus ibi est