Getting value back into filepro

Kenneth Brody kenbrody at spamcop.net
Mon Mar 21 07:13:28 PDT 2016


On 3/20/2016 11:20 PM, Richard Kreiss via Filepro-list wrote:
> To check if OS is 32 or 64 bit, the following command can be run
>
> Wmic OS get OSArchitechure
> The return is:
>
> OSArchitechure
> 64-bit
>
> Or
> 32 -bit
>
> I know I could place output this to a file.  Is there a way to get the answer directly?

You could send the output of the "wmic" command to a file and IMPORT it.

But what about a simple GETENV("PROCESSOR_ARCHITECTURE")?  Yes, someone 
could have manually changed it, but would they bother?

Or, finally, with filePro 5.7.04 or later, use USER to read the "wmic" output.

-- 
Kenneth Brody


More information about the Filepro-list mailing list