|
|
#1 |
|
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 |
|
|
|
|
|
#2 |
|
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
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 |
|
|
|
|
|
#3 |
|
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?
|
|
|
|
|
|
#4 |
|
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> |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|