MSFN Forum: Environment Questions - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Environment Questions Environment Questions Rate Topic: -----

#1 User is offline   MooCan 

  • Group: Members
  • Posts: 3
  • Joined: 15-January 07

Posted 16 April 2009 - 05:54 AM

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


#2 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 16 April 2009 - 05:30 PM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy