Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   How to edit config.nt for dos (http://forums.winamp.com/showthread.php?t=276531)

brweb 27th August 2007 09:30

How to edit config.nt for dos
 
Hi,
I am a new user of NSIS.

I have my program which is dos based. My program requires files=254 in config.nt file which is available at is location

"$WINDIR/system32/config.nt"

I want to automatically edit the file and replace the line "files=*" (I have added * because the number may be differnt on some systems) with line "files=254". The original file contains any number at "files=" default is 40 on some systems.

Now, I want a method to do this with NSIS as automatically. Is there any way to do this?

Thanks in advance...

kichik 27th August 2007 18:15

LineFind can do this for you. It searches a file for some lines and allows you to replace those lines with your own text.

brweb 4th September 2007 10:20

Hey thanks... but I don't know how to use it. I am a very newbie in NSIS. Please provide more help in how to use it

kichik 4th September 2007 23:29

The links contains a few examples. Try those.

brweb 5th September 2007 03:42

Thanks for fast reply.. I will try.

But, is there any site which provides an easy way to learn NSIS? The help file is not so descriptive for newbie like me.


All times are GMT. The time now is 04:11.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.