+ Reply to Thread
Results 1 to 4 of 4

Thread: How do I include a script in the same directory as the sb8 file?

  1. #1

    Smile How do I include a script in the same directory as the sb8 file?

    I would like to be able to include scripts that reside int he same directory as the sb8 file.

    Instead of #include Script "test.sbi" from "c:\setup Builder Projects\test" which is an explicit location so if I move the project folder, I then have to change any includes as well as any install commands to show the new file locations explicitly

    Just have it be relative as in #include script "test" from "This Directory"

    Is there a way to do that for includes and install file(s) and Copy File(s)?

  2. #2
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: How do I include a script in the same directory as the sb8 file?

    Hello,

    Just use the [SB_PROJECT] compiler variable.

    For example:

    [SB_PROJECT]\Your Include Name-1.sbi

    Friedrich

  3. #3

    Default Re: How do I include a script in the same directory as the sb8 file?

    Thanks, found that out as soon as I posted the question by digging around in the help files and just playing around with the code.

    I've said it before and I will say it again...Great application

  4. #4
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: How do I include a script in the same directory as the sb8 file?

    THANK YOU

    Friedrich

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •