Modifying preference files
I am repackaging an app that uses a user preference file stored in the user profile (win2k) My app is a new version of the app so users will want to keep the preference file already customised to their needs from the existing version.
Now the customer has asked if we can update one section of the file for everybody with new default template files. So the section is currently
]
defaultCategoryTemplates [
1
"architecture.vhd"
2
"entity.vhd"
3
"combined.vhd"
4
"package_header.vhd"
5
"package_body.vhd"
6
"configuration.vhd"
7
"module.v"
8
"verilog_include.v"
They would like it changed to
]
defaultCategoryTemplates [
1
"Skeleton_a.vhd"
2
"Skeleton_e.vhd"
3
"Skeleton_ea.vhd"
4
"Skeleton_pkg.vhd"
5
"Skeleton_bdy.vhd"
6
"Skeleton_c.vhd"
I know next to nothing about wscript,vbs etc - barely get by with my kix. Could a script be written that runs on user login to update this section of the file (it's called hds_user_prefs) without changing anything else?
thanks in advance for any assistance!!
Gazza
Now the customer has asked if we can update one section of the file for everybody with new default template files. So the section is currently
]
defaultCategoryTemplates [
1
"architecture.vhd"
2
"entity.vhd"
3
"combined.vhd"
4
"package_header.vhd"
5
"package_body.vhd"
6
"configuration.vhd"
7
"module.v"
8
"verilog_include.v"
They would like it changed to
]
defaultCategoryTemplates [
1
"Skeleton_a.vhd"
2
"Skeleton_e.vhd"
3
"Skeleton_ea.vhd"
4
"Skeleton_pkg.vhd"
5
"Skeleton_bdy.vhd"
6
"Skeleton_c.vhd"
I know next to nothing about wscript,vbs etc - barely get by with my kix. Could a script be written that runs on user login to update this section of the file (it's called hds_user_prefs) without changing anything else?
thanks in advance for any assistance!!
Gazza
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
nmi
19 years ago
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.