Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-19-2008, 09:59 PM
ztron ztron is online now
Registered User
 
Join Date: 10-19-2008
Posts: 1
Can VBScript access Environment variables?

I want to access environment variables such as COMPUTERNAME from within VBScript vbld_StepStarting event.

I have been using Application.Macros(vbldMacroProject)("MACRO_NAME") to access macros from within VBScripts but can you access Environment variables is a similar way?

As a work around, I have used the Set Macro step to assign an environment variable to a macro then access the macro in the script. The problem with this is the extra step and if the macro is at the project level, it modifies the project every time the bld is run.

Ron.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 12:38 PM.


Copyright © 1999-2023 Kinook Software, Inc.