LWed - Windows INI file editor. version 2.0 of 1996-06-22, Copyright (C) Laszlo Radanyi This program is distributed in the hope that it will be useful. but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE. A B O U T T H E P R O G R A M : This small utility makes it easier to customize Windows INI files. I needed a utility like this to be able to change the Wallpaper entry BEFORE I had windows running. Of course, this program came very handy for all kinds of entry replacement. This version replaces the previously distributed version. A few changes have been made: o The program is shareware. Why ? I noticed that the interest for it became higher, and I wanted to get payed for the support. Also, the program uses more generalised code, which has taken a while to develop - so I want to get something in return. o Source is NOT free anymore. This is because of the underlying software which I do not wish to give away. o Better function. Hopefully. :-) o LWED does not use the DOS redirectors any more. This is mainly because of the underlying library, which handles file i/o. Also, I noticed that ALL users used a file name on the command line anyway, so making this the standard function was self given. Enjoy ! And should you have any comments, please don't hesitate to reach the author at lrd@plea.se Now a little old text: LWed has four MODES - read, write, insert and append. READ will print the contents of an INI key onto the std stream. WRITE will replace the key value with the given new value APPEND will append a string to the key value INSERT will append the current key value to the given string and write the new combined string to the value WRITE mode is the mode I use the most. This is how to use it: Suppose we want to replace the current Wallpaper= setting under [Desktop] in win.ini. (This was the original "problem" I wanted to solve.) Suppose 'lwed' is in the current directory or in any directory in PATH, AND suppose the wallpaper file we want to use is called mypaper.bmp - we enter > lwed -w win.ini Desktop Wallpaper mypaper.bmp I use the program in several batch files, where I change a few settings for each family member. Syntax for the other modes: lwed -h lwed -v lwed -i foo.ini MySection MyKey MyValueToInsert lwed -p foo.ini MySection MyKey MyValueToPrepend lwed -a system.ini boot network.drv "*mynetwork" lwed -r win.ini windows load lwed -w win.ini windows run ---