Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
MooCan

Environment Questions

Recommended Posts

MooCan    0

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

Share this post


Link to post
Share on other sites

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

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×