I have an application in which I need to change a registry key (which simply
changes a path that the application looks for a config file) before autocad
loads. Sure i can double click on a .reg file then run autocad but Im trying
to make this seamless to the users. So my thinking was to put this regedit
line in the target box of the Autocad Icon on the desktop prior to the
command to call and open autocad:
regedit -s C:\changeregistry.reg "C
rogram files\.....autocad.exe" /p
"Company Profile.arg"
this doesnt work cause it seems to only make the registry change and not
open autocad. Any suggestions on changing registry values before autocad
runs in the application icon?