Old 27th February 2008, 12:41   #1
sergiotaraujo
Junior Member
 
Join Date: Feb 2008
Posts: 12
add words to a file

Hi.. please.. help me.. i`m with this problem.. I can`t solve it!!!!!!!!!!!!!!!!!!

I have a file, and I need find a line in this file, and write something after the line...

I have this file:
httpd.conf
and I have:
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
and I wanna do it:
<IfModule dir_module>
DirectoryIndex index.html index.php default.php main.php
</IfModule>

pleaseee somebody give me a code to do it.. cause I CAN`T!!!

thanks!!!!
sergiotaraujo is offline   Reply With Quote
Old 27th February 2008, 22:57   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
${ConfigWrite} won't help you as you mentioned in the other similar post.
You're looking for Word Functions Header,

http://nsis.sourceforge.net/Docs/AppendixE.html#E.3

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump