• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Sign in to follow this  
Followers 0
MooCan

Environment Questions

2 posts in this topic

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

0

Share this post


Link to post
Share on other sites

I've never tested it, but it shouldn't work as you found out. But it should be possible without much code modification. Unfortunately I can't spent more time in wihu development.

Benjamin Kalytta

0

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  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.