Jump to content

Environment Questions


Recommended Posts

Posted

Hi,

First thanks for this amazing tools.

Very powerfull with a lovely classic interface.

I have a question about environment processing.

Is it possible to "concatenate" or substitute environment variables into another environment variable ?

to create a sort of dynamic attribution and resolution and if yes what is the syntax ?

Here is my example:

windows.systemfolder.x86	= %SystemRoot%\System32\
windows.systemfolder.x64 = %SystemRoot%\SysWOW64\
computer.processor.architecture = %PROCESSOR_ARCHITECTURE%

windows.systemfolder.current = %windows.systemfolder.%computer.processor.architecture%%
windows.version = %windows.systemfolder.current%ntddl.dll?Version

Also depending on the current computer architecture systemfolder will dynamically be attributed.

- windows.systemfolder.current does not work as i have a variable into another variable.

- windows.version works great if I specify windows.systemfolder.x86 value for windows.systemfolder.current

Thanks in advance for your reply.

Kind Regards

Moo


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...