WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

System INI and INI File Topics

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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
File Created: 1999:04:15:16:53:22
Last Updated: 1999:04:15:16:53:22