aoz Posted April 19, 2006 Report Share Posted April 19, 2006 to all, can environment variables be used in IF statements (or other logic), or do I ahve to first transfer them to a 'T"ext variable, etc? I wanted to use environment variables to make some of the macro's more explanatory, but it is several steps for each one (transfer data in, transfer data out, etc), especially in logic areas, unless I'm missing something thanks Nick Quote Link to comment Share on other sites More sharing options...
kevin Posted April 20, 2006 Report Share Posted April 20, 2006 You can put an environment variable whereever a macro command asks for a value. The environment variable needs to be surrounded by % characters. For example: If Variable %T1% = "%ComSpec%" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.