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 12-16-2009, 11:41 AM
ChrisF ChrisF is online now
Registered User
 
Join Date: 12-09-2009
Posts: 67
Using defined macros in a VBScript

I'm using VBPro v7.2

I set up macros to start my script, for example

macro name = PROJECT_DIR
macro value = C:\My Projects

I can then use the macroin subsequent steps, like copying files, for example

source dir = %PROJECT_DIR%\source

But now I want to use the macro in a step that has a VBScript, and the macro NEEDS to be inside quotes. So without the macro, I do

dbFile = "C:\My Projects\myFile.db"

How can I do the equivalent of this instead?

dbFile = "%PROJECT_DIR%\myFile.db"
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 01:15 PM.


Copyright © 1999-2023 Kinook Software, Inc.