Reply to Thread

Post a reply to the thread: Command line compiler /R switch not working

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 09-17-2019, 06:35 PM
    ccordes

    Re: Command line compiler /R switch not working

    Thanks, Friedrich!
    I was more than ready to argue knowing that I had tried 'everything'. I must not have tried the _right_ thing. )
    ... and I have it running from another directory as well.
    Running from the SB10 directory did make it run, but I can't say why. Today I deleted what I was doing and just wrote it (as I thought I had but without the /R= ) and it is working.
    Thanks again,
    Chris C
  • 09-17-2019, 04:57 AM
    linder

    Re: Command line compiler /R switch not working

    Hi Chris,

    no need to run the command line compiler from the same directory as SB10. You can use fully-qualified path names (including long filenames) without any problem.

    Not sure if it is a typo in your above text. You have /R="Release" but it should be /R "Release"

    "C:\yada yada\SB10.EXE" /C "C:\yada yada\yada.sbp" /R "Release"

    Friedrich
  • 09-16-2019, 10:41 AM
    ccordes

    Command line compiler /R switch not working

    I feel like I must be missing something very basic.
    I have a project that has 9 different releases that need to be recompiled whenever things change. I'd like to be able to use the /C & /R switches to run them from a batch file.

    After failing on Saturday and realizing this morning that the SB10 command line needs to be run from the same directory as SB10 and that it doesn't like long path names (or maybe just without spaces), I've come to expect that there are certain conditions that need to be met when using this feature.

    This works and compiles the last release listed in the Releases list. -
    sb10.exe /C "C:\sbtests\pcgarwV9_2019_noCopier_WebInstall. sbp"

    This line does the same thing - compiles the last release displayed; not the one in the /R -
    sb10.exe /C "C:\sbtests\pcgarwV9_2019_noCopier_WebInstall. sbp" /R="Manufacturers_Demo"


    Can anyone see what I'm missing? I would really like to use this since these installations take a longish time to run.

    Thanks!
    Chris C

Posting Permissions

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