Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 7th May 2007, 17:24   #1
badger101101
Junior Member
 
Join Date: May 2007
Posts: 14
Text File Monipulation

I have a simple problem where I need my script to make a copy of a configuration file and give it a new name. I read the docs, and the only way that I can think of doing this is to do it line by line which seems clunky to me. Is there a way that I can simply copy a file and rename it?

Thanks
badger101101 is offline   Reply With Quote
Old 7th May 2007, 17:45   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.1.6

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
Old 7th May 2007, 18:20   #3
badger101101
Junior Member
 
Join Date: May 2007
Posts: 14
Thanks Red Wine. That helps me rename a file but it doesn't allow me to copy it. I am using this to set up "profile" information for users. The file 'profile.std' is the default profile. When a user installs our program, we have them set up a new profile via the installer. So I thought I would make a copy of the default profile and then alter it. Any ideas how to best accomplish this?
badger101101 is offline   Reply With Quote
Old 7th May 2007, 18:23   #4
badger101101
Junior Member
 
Join Date: May 2007
Posts: 14
Heh, I think I just found it. I feel really dumb about now. Don't know how I missed it the first 10 times I read through the docs.

CopyFiles <source> <dest>
badger101101 is offline   Reply With Quote
Reply
Go Back   Winamp 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