Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] General Discussion

Thread Tools Rating: Thread Rating: 9 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
Old 03-06-2003, 09:34 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,758
Passing a path as a macro to another project

I have a Visual Build Project that uses a temporary macro %SourceDir% to decide where the check data out to. This works fine if I run the project on its own. However if I try to call that VBP project from another and pass it the %SourceDir% macro from the parent project I get a messagebox that states "The system cannot find the specified file".

If I put some other value in that is not a directory it does not give me this messagebox but still fails because it is not a directory (expected).

Here is the command line that is being called from the VBP project:

"C:\Program Files\VisBuildPro\VisBuildPro.exe" "SourceDir=c:\develop\" /b "C:\develop\Visual Build Pro\FormsPartnerHelp.bld"

How do I pass a directory as a macro?

Thanks in advance,
Eric Eicke
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 02:33 PM.

Copyright 1999-2019 Kinook Software, Inc.