Get %Processor_Architecture% into WinBuilder?
Posted 14 April 2008 - 06:31 AM
There are Winbuilder Fixed Variables for retrieving info from the current OS, like %WindowsDir%, %UserName% and %Day% for example. I thought that amongst these there was a Winbuilder Variable for the 'Windows Version' of the current OS, and maybe some others...???
Right now, I'd like one for the %Processor_Architecture% of the OS. Is there one?
If not, how to do it? I would rather not have Winbuilder search for some unique file or check the registry. Can the variable somehow pass from cmd.exe to a Winbuilder Custom Variable?
Posted 14 April 2008 - 09:10 AM
Environment variables can be found at
Use a command like
Posted 14 April 2008 - 11:24 AM
Yes, there is a way.
I am reluctant to use Registry commands because I have made (and seen) mistakes in the past.
However, the advice you have given looks safe. ...
I'll try it in a while. I've hit some other snags with the new Windows AIK.
BTW, this question now seems to be in the wrong forum. Perhaps, better would be 'Winbuilder Scripting Help.'
Posted 14 April 2008 - 01:34 PM
Would nice to gather them there so that other people can see how this can be done.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users