cfg file in the %userprofile%
Hi
I am currently working on an application which has one run time cfg file getting created under each user profile when launched for the first time.
Can we redirect this file to any other location(programfiles\application name)? Also cfg file has some hard coded path in to it,can we replace that with environment variables? Application refers to this hard coded path through the various tabs present in the application.
Any help is appreciated??
I am currently working on an application which has one run time cfg file getting created under each user profile when launched for the first time.
Can we redirect this file to any other location(programfiles\application name)? Also cfg file has some hard coded path in to it,can we replace that with environment variables? Application refers to this hard coded path through the various tabs present in the application.
Any help is appreciated??
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
Posted by:
sunny07
14 years ago
you will be lucky if the redirection of cfg file to program files\application name works but i dont think so , any how have a trial.
regarding replacing of hardcoded entries with environment variables is also again a trail only,
I would rather go with vbscript or deployment tool variables for replacing the hardcoded variables in a cfg file.
cheers
sunny07
regarding replacing of hardcoded entries with environment variables is also again a trail only,
I would rather go with vbscript or deployment tool variables for replacing the hardcoded variables in a cfg file.
cheers
sunny07
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.