Have a look at TRegistry in the Delphi help. You should be able to write you
own little function in half an hour...
-d
I expect the feature list for the next release of Delphi is probably
closed by now, however you could periodically export the registry
entries, or write (or find) an IDE expert that does it for you when you
save the enviroment settings.
--
Dave Nottage [TeamB]
One thing you can do with all versions of Delphi from at least D5, is use
the "-r" command-line switch. This allows you to specify the root registry
key to use when loading the IDE. For instance in D7, you could export the
HKCU\Software\Borland\Delphi key to a file. Then rename the "Delphi" key to
something else, like "SafeMode". Then re-import the exported key to
recreate the HKCU\..\Delphi key. Finally, when you run the Delphi32
application, just pass the "-rSafeMode" switch to use that key.
--
Allen Bauer
Delphi/C#Builder Principal Architect
Borland Software Corporation.
http://blogs.borland.com/abauer
> One thing you can do with all versions of Delphi from at least D5, is
> use the "-r" command-line switch.
Cool. You learn something new every day <g>
--
Dave Nottage [TeamB]
Indeed! Broadcasted in our ngs ;-) That can be a life saver tip!
>> One thing you can do with all versions of Delphi from at least D5,
>> is use the "-r" command-line switch.
> Cool. You learn something new every day <g>
Wow! And yes, this was a new one.
Wonder what the -s, -k, -q, -x, -y switches does.. :)
--
Ingvar Nilsen
> Wow! And yes, this was a new one.
> Wonder what the -s, -k, -q, -x, -y switches does.. :)
Wonder if these are documented anywhere, or if there's a -? or /help
option to show them all. :D
Will
--
Want a 64-bit Delphi compiler for AMD64 / IA-32e? Vote here--
That little nugget isn't documented in the D7 help under "IDE command-line
options".
It would be nice to get a complete list of command-line options into the
Help documentation...
-d
FWIW - it is documented in D8 under "IDE Command Line Switches and Options".
Seems like Borland likes implementing features a couple of versions before
actually surfacing them to the docs - I recall seeing examples like this in
the past.
<g>
Hey, type generics are already implemented, we just have to guess the syntax
!
</g>
> Ingvar Nilsen wrote:
>
> > Wow! And yes, this was a new one.
> > Wonder what the -s, -k, -q, -x, -y switches does.. :)
>
> Wonder if these are documented anywhere, or if there's a -? or /help
> option to show them all. :D
D7 has a topic in the online help, called:
"IDE command-line options"
One option is:
? Launches the IDE and displays online help for IDE command-line
options.
But it seems the -r, -s, -k, -q, -x and -y switches are not documented
there. Things like -hv and -ns are, though.
--
Rudy Velthuis [TeamB]
"UNIX is simple. It just takes a genius to understand its simplicity."
-- Dennis Ritchie
Thanks for the great tip.
-David