manyaka
1st February 2005 12:11 UTC
copying config files
Hi guys.I need my installer to copy my Application's config files to (C:\Documents and settings\user name\Application Data...)
The only thing is how can I do that if I dont know what the users name is.
Please send me a peace of code that would do that.
Thanks a million.
Manyaka
Instructor
1st February 2005 16:59 UTC
### Copy file "C:\config.cfg" to the current user application data directory.
CopyFiles /SILENT "C:\config.cfg" "$APPDATA"
manyaka
2nd February 2005 08:49 UTC
how do I know
How do I know what the current user application data directory is?
Please give me an e.g , is it a var?
Thanx dood
Manyaka
manyaka
2nd February 2005 09:15 UTC
Thanx
Great help man.I tried the last coding that u sent and it worked, dont worry about my previous reply.
Cheers.
Manyaka