cfg file in the %userprofile%

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)

Posted by: anonymous_9363 13 years ago
Red Belt
Looking into my crystal ball I can see that the application name is.........oh, rats! I can't see the name any longer. Nope, it's no good. You're going to have to tell us what it is.

Meanwhile, have you tried the radical approach of asking the vendor?
Posted by: elgwhoppo 13 years ago
Senior Purple Belt
Any real info is appreciated??
Posted by: sunny07 13 years ago
Senior Yellow Belt
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.

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ