+ Reply to Thread
Results 1 to 3 of 3

Thread: Command line compiler /R switch not working

  1. #1
    Join Date
    Nov 2007
    Location
    Malone, NY
    Posts
    69

    Question 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
    coffee.cup not found. Programmer halted.

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

    Default 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

  3. #3
    Join Date
    Nov 2007
    Location
    Malone, NY
    Posts
    69

    Default 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
    coffee.cup not found. Programmer halted.

+ 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
  •