Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


IniWritePvt add lines to System.ini

Keywords:        ini IniWritePvt add file devadd zip

Problem:

A user is trying to use IniWritePvt to add a line to the SYSTEM.INI file. The program searches for the keyword and instead of adding the line, changes an existing line to the new line. How does he insert a new line?

Answer:

You simply CANNOT add a DEVICE= line to the SYSTEM.INI file using the IniWritePvt function.

There is an example in the WIL help file, which shows how to do this using the BinaryStrPoke function. The example shows how to add a DEVICE= line to the SYSTEM.INI file.


Article ID:   W13339
Filename:   IniWritePvt add lines to Systemini.txt