Suppressing the OE splash screen for a single session - Forum - OpenEdge Development - Progress Community

Suppressing the OE splash screen for a single session

 Forum

Suppressing the OE splash screen for a single session

This question is answered

I'm working on some 11.3 Win 7 code that'll be run in a "Dos"ish batch mode (-b) session, and return some values via stdout.

I would like to suppress the standard PSC splash screen for the start of these sessions.

The KB's I found so far show how to permanently suppress these screens, which isn't what I want, I need per call suppression. 

Can this be done? 

Verified Answer
  • Your problem is the mpro.bat script. Take a look at it, it shows

    if "%DISPBANNER%"=="no" goto NOBANNER

      type "%DLC%"\hello

    So if you wish to continue using this script, set env var DISPBANNER=no. Alternatively, you could use the mbpro.bat or bpro.bat scripts.

  • Hello,

    The mpro command is a batch file (mpro.bat).
    There is an environment variable called DISPBANNER that you can set to no to suppress the banner.
    You could also make your own batch file if you need to remove the display of the version information.
    Alternatively, you could call _progres.

    I hope this helps.
    ---
    On 5/30/2014 10:47 AM, Tim Kuehn wrote:

    To clarify -

    I'm running a program in batch mode, which means it's the char client.

    The command I'm running is:

    mpro -pf %DIRPATH%/pf/FileName.pf -basekey "INI" -ininame %DIRPATHE%/bin/IniName.ini -param %1

    There is a "splash screen" (or text chars) which shows at the start of the session - that's what I'm trying to eliminate as I'm using the output of this batch file to transfer information to an unrelated program through stdout.

    This is what I'm seeing when the program starts up, and I want gone:

           @@@@@@   @@@@@@   @@@@@@@   @@@@@   @@@@@@   @@@@@@@   @@@@@    @@@@@

          @     @  @     @  @     @  @     @  @     @  @        @     @  @     @

         @     @  @     @  @     @  @        @     @  @        @        @

        @@@@@@   @@@@@@   @     @  @  @@@@  @@@@@@   @@@@@     @@@@@    @@@@@

       @        @   @    @     @  @     @  @   @    @              @        @

      @        @    @   @     @  @     @  @    @   @        @     @  @     @

     @        @     @  @@@@@@@   @@@@@   @     @  @@@@@@@   @@@@@    @@@@@

                              Progress Software Corporation

                                       14 Oak Park

                               Bedford, Massachusetts 01730

                                       781-280-4000

          PROGRESS is a registered trademark of Progress Software Corporation

                                 Copyright 1984-2013

                           by Progress Software Corporation

                                 All Rights Reserved

    OpenEdge Release 11.3.1 as of Thu Sep 19 19:02:23 EDT 2013

  • In the batch scripts in %dlc%/bin for pro and mpro and friends, is the following
    if "%DISPBANNER%"=="no" goto NOBANNER
       type "%DLC%"\hello
     
    what happen if you set that variable to 'no'.
     
    If you run _progress directly (ie from proenv or cli), there's no banner.
     
    -- peter
     
     
    From: Mike Fechner [mailto:bounce-mikefechner@community.progress.com]
    Sent: Friday, 30 May, 2014 10:50
    To: TU.OE.Development@community.progress.com
    Subject: [Technical Users - OE Development] AW: Suppressing the OE splash screen for a single session
     
    11.3.1? ;-)

    This is not considered the splash screen, if you ask me.

    Von meinem Windows Phone gesendet

    Von: Tim Kuehn
    Gesendet: ‎30.‎05.‎2014 16:47
    An: TU.OE.Development@community.progress.com
    Betreff: RE: [Technical Users - OE Development] Suppressing the OE splash screen for a single session

    To clarify -

    I'm running a program in batch mode, which means it's the char client.

    The command I'm running is:

    mpro -pf %DIRPATH%/pf/FileName.pf -basekey "INI" -ininame %DIRPATHE%/bin/IniName.ini -param %1

    There is a "splash screen" (or text chars) which shows at the start of the session - that's what I'm trying to eliminate as I'm using the output of this batch file to transfer information to an unrelated program through stdout.

    This is what I'm seeing when the program starts up, and I want gone:

           @@@@@@   @@@@@@   @@@@@@@   @@@@@   @@@@@@   @@@@@@@   @@@@@    @@@@@

          @     @  @     @  @     @  @     @  @     @  @        @     @  @     @

         @     @  @     @  @     @  @        @     @  @        @        @

        @@@@@@   @@@@@@   @     @  @  @@@@  @@@@@@   @@@@@     @@@@@    @@@@@

       @        @   @    @     @  @     @  @   @    @              @        @

      @        @    @   @     @  @     @  @    @   @        @     @  @     @

     @        @     @  @@@@@@@   @@@@@   @     @  @@@@@@@   @@@@@    @@@@@

                              Progress Software Corporation

                                       14 Oak Park

                               Bedford, Massachusetts 01730

                                       781-280-4000

          PROGRESS is a registered trademark of Progress Software Corporation

                                 Copyright 1984-2013

                           by Progress Software Corporation

                                 All Rights Reserved

    OpenEdge Release 11.3.1 as of Thu Sep 19 19:02:23 EDT 2013

  • This comes from  type "%DLC%"\version in the .bat file. You'll have to edit that one out if you want it gone, or else write your own script.

  • Hello Tim,
     
    That should be from the version file in %DLC%.
     
    Just rename the version file.
     
    Twitter
    Facebook
    LinkedIn
    Google+
     
     
    From: Tim Kuehn [mailto:bounce-timk519@community.progress.com]
    Sent: Friday, May 30, 2014 11:26 AM
    To: TU.OE.Development@community.progress.com
    Subject: RE: [Technical Users - OE Development] Suppressing the OE splash screen for a single session
     

    As a final note - the big banner's gone, I'm still seeing this:

      OpenEdge Release 11.3.1 as of Thu Sep 19 19:02:23 EDT 2013

    I'm presuming this is from the binary and there's no way to get rid of it.....


    PROGRESS SOFTWARE CORPORATION
    14 Oak Park Drive | Bedford, MA 01730 | USA
    PHONE +1 781 280-3008
    richards@progress.com

    www.progress.com

  • In the script is this:
    :NOBANNER
       type "%DLC%"\version
       "%PROEXE%" -1 %1 %2 %3 %4 %5 %6 %7 %8 %9
     
    Just change it to this:
    :NOBANNER
       "%PROEXE%" -1 %1 %2 %3 %4 %5 %6 %7 %8 %9
     
    Twitter
    Facebook
    LinkedIn
    Google+
     
     
    From: Garry Hall [mailto:bounce-gih@community.progress.com]
    Sent: Friday, May 30, 2014 11:30 AM
    To: TU.OE.Development@community.progress.com
    Subject: RE: [Technical Users - OE Development] Suppressing the OE splash screen for a single session
     

    This comes from  type "%DLC%"\version in the .bat file. You'll have to edit that one out if you want it gone, or else write your own script.


    PROGRESS SOFTWARE CORPORATION
    14 Oak Park Drive | Bedford, MA 01730 | USA
    PHONE +1 781 280-3008
    richards@progress.com

    www.progress.com

All Replies
  • We have a winner!

       DISPBANNER=no

    did the trick.

    Thx!

  • Hmmm... mbpro.bat and bpro.bat also display the banner. So the DISPBANNER env var is your solution if you wish to keep using these scripts.

  • Tim,
     
    mpro isn't batch mode, mbpro is.
     
    Brian
     
     
    From: Tim Kuehn [mailto:bounce-timk519@community.progress.com]
    Sent: Friday, May 30, 2014 10:47 AM
    To: TU.OE.Development@community.progress.com
    Subject: RE: [Technical Users - OE Development] Suppressing the OE splash screen for a single session
     

    To clarify -

    I'm running a program in batch mode, which means it's the char client.

    The command I'm running is:

    mpro -pf %DIRPATH%/pf/FileName.pf -basekey "INI" -ininame %DIRPATHE%/bin/IniName.ini -param %1

    There is a "splash screen" (or text chars) which shows at the start of the session - that's what I'm trying to eliminate as I'm using the output of this batch file to transfer information to an unrelated program through stdout.

    This is what I'm seeing when the program starts up, and I want gone:

           @@@@@@   @@@@@@   @@@@@@@   @@@@@   @@@@@@   @@@@@@@   @@@@@    @@@@@

          @     @  @     @  @     @  @     @  @     @  @        @     @  @     @

         @     @  @     @  @     @  @        @     @  @        @        @

        @@@@@@   @@@@@@   @     @  @  @@@@  @@@@@@   @@@@@     @@@@@    @@@@@

       @        @   @    @     @  @     @  @   @    @              @        @

      @        @    @   @     @  @     @  @    @   @        @     @  @     @

     @        @     @  @@@@@@@   @@@@@   @     @  @@@@@@@   @@@@@    @@@@@

                              Progress Software Corporation

                                       14 Oak Park

                               Bedford, Massachusetts 01730

                                       781-280-4000

          PROGRESS is a registered trademark of Progress Software Corporation

                                 Copyright 1984-2013

                           by Progress Software Corporation

                                 All Rights Reserved

    OpenEdge Release 11.3.1 as of Thu Sep 19 19:02:23 EDT 2013

  • Hello,

    The mpro command is a batch file (mpro.bat).
    There is an environment variable called DISPBANNER that you can set to no to suppress the banner.
    You could also make your own batch file if you need to remove the display of the version information.
    Alternatively, you could call _progres.

    I hope this helps.
    ---
    On 5/30/2014 10:47 AM, Tim Kuehn wrote:

    To clarify -

    I'm running a program in batch mode, which means it's the char client.

    The command I'm running is:

    mpro -pf %DIRPATH%/pf/FileName.pf -basekey "INI" -ininame %DIRPATHE%/bin/IniName.ini -param %1

    There is a "splash screen" (or text chars) which shows at the start of the session - that's what I'm trying to eliminate as I'm using the output of this batch file to transfer information to an unrelated program through stdout.

    This is what I'm seeing when the program starts up, and I want gone:

           @@@@@@   @@@@@@   @@@@@@@   @@@@@   @@@@@@   @@@@@@@   @@@@@    @@@@@

          @     @  @     @  @     @  @     @  @     @  @        @     @  @     @

         @     @  @     @  @     @  @        @     @  @        @        @

        @@@@@@   @@@@@@   @     @  @  @@@@  @@@@@@   @@@@@     @@@@@    @@@@@

       @        @   @    @     @  @     @  @   @    @              @        @

      @        @    @   @     @  @     @  @    @   @        @     @  @     @

     @        @     @  @@@@@@@   @@@@@   @     @  @@@@@@@   @@@@@    @@@@@

                              Progress Software Corporation

                                       14 Oak Park

                               Bedford, Massachusetts 01730

                                       781-280-4000

          PROGRESS is a registered trademark of Progress Software Corporation

                                 Copyright 1984-2013

                           by Progress Software Corporation

                                 All Rights Reserved

    OpenEdge Release 11.3.1 as of Thu Sep 19 19:02:23 EDT 2013

  • In the batch scripts in %dlc%/bin for pro and mpro and friends, is the following
    if "%DISPBANNER%"=="no" goto NOBANNER
       type "%DLC%"\hello
     
    what happen if you set that variable to 'no'.
     
    If you run _progress directly (ie from proenv or cli), there's no banner.
     
    -- peter
     
     
    From: Mike Fechner [mailto:bounce-mikefechner@community.progress.com]
    Sent: Friday, 30 May, 2014 10:50
    To: TU.OE.Development@community.progress.com
    Subject: [Technical Users - OE Development] AW: Suppressing the OE splash screen for a single session
     
    11.3.1? ;-)

    This is not considered the splash screen, if you ask me.

    Von meinem Windows Phone gesendet

    Von: Tim Kuehn
    Gesendet: ‎30.‎05.‎2014 16:47
    An: TU.OE.Development@community.progress.com
    Betreff: RE: [Technical Users - OE Development] Suppressing the OE splash screen for a single session

    To clarify -

    I'm running a program in batch mode, which means it's the char client.

    The command I'm running is:

    mpro -pf %DIRPATH%/pf/FileName.pf -basekey "INI" -ininame %DIRPATHE%/bin/IniName.ini -param %1

    There is a "splash screen" (or text chars) which shows at the start of the session - that's what I'm trying to eliminate as I'm using the output of this batch file to transfer information to an unrelated program through stdout.

    This is what I'm seeing when the program starts up, and I want gone:

           @@@@@@   @@@@@@   @@@@@@@   @@@@@   @@@@@@   @@@@@@@   @@@@@    @@@@@

          @     @  @     @  @     @  @     @  @     @  @        @     @  @     @

         @     @  @     @  @     @  @        @     @  @        @        @

        @@@@@@   @@@@@@   @     @  @  @@@@  @@@@@@   @@@@@     @@@@@    @@@@@

       @        @   @    @     @  @     @  @   @    @              @        @

      @        @    @   @     @  @     @  @    @   @        @     @  @     @

     @        @     @  @@@@@@@   @@@@@   @     @  @@@@@@@   @@@@@    @@@@@

                              Progress Software Corporation

                                       14 Oak Park

                               Bedford, Massachusetts 01730

                                       781-280-4000

          PROGRESS is a registered trademark of Progress Software Corporation

                                 Copyright 1984-2013

                           by Progress Software Corporation

                                 All Rights Reserved

    OpenEdge Release 11.3.1 as of Thu Sep 19 19:02:23 EDT 2013

  • Brian K. Maher
    Tim,
     
    mpro isn't batch mode, mbpro is.
     
    Brian

    there's a "-b" in the .pf file which makes it batch.
  • Hello Tim,
     
    I see what you mean Tim.
     
    The word Progress (spelled out in a slanted format with the @ symbol used to spell each bigger letter).
     
     
     
     
     
     
            @@@@@@   @@@@@@   @@@@@@@   @@@@@   @@@@@@   @@@@@@@   @@@@@    @@@@@
           @     @  @     @  @     @  @     @  @     @  @        @     @  @     @
          @     @  @     @  @     @  @        @     @  @        @        @
         @@@@@@   @@@@@@   @     @  @  @@@@  @@@@@@   @@@@@     @@@@@    @@@@@
        @        @   @    @     @  @     @  @   @    @              @        @
       @        @    @   @     @  @     @  @    @   @        @     @  @     @
      @        @     @  @@@@@@@   @@@@@   @     @  @@@@@@@   @@@@@    @@@@@
     
                               Progress Software Corporation
                                        14 Oak Park
                                Bedford, Massachusetts 01730
                                        781-280-4000
     
           PROGRESS is a registered trademark of Progress Software Corporation
                                  Copyright 1984-2013
                            by Progress Software Corporation
                                  All Rights Reserved
     
    OpenEdge Release 11.3 as of Wed Jul 17 16:47:54 EDT 2013
     
    Nosplash doesn’t prevent it.
     
    Use this instead:
     
    Windows: SET DISPBANNER=no
    Unix: display_banner=no;export display_banner
     
    Twitter
    Facebook
    LinkedIn
    Google+
     
     
    From: Tim Kuehn [mailto:bounce-timk519@community.progress.com]
    Sent: Friday, May 30, 2014 10:47 AM
    To: TU.OE.Development@community.progress.com
    Subject: RE: [Technical Users - OE Development] Suppressing the OE splash screen for a single session
     

    To clarify -

    I'm running a program in batch mode, which means it's the char client.

    The command I'm running is:

    mpro -pf %DIRPATH%/pf/FileName.pf -basekey "INI" -ininame %DIRPATHE%/bin/IniName.ini -param %1

    There is a "splash screen" (or text chars) which shows at the start of the session - that's what I'm trying to eliminate as I'm using the output of this batch file to transfer information to an unrelated program through stdout.

    This is what I'm seeing when the program starts up, and I want gone:

           @@@@@@   @@@@@@   @@@@@@@   @@@@@   @@@@@@   @@@@@@@   @@@@@    @@@@@

          @     @  @     @  @     @  @     @  @     @  @        @     @  @     @

         @     @  @     @  @     @  @        @     @  @        @        @

        @@@@@@   @@@@@@   @     @  @  @@@@  @@@@@@   @@@@@     @@@@@    @@@@@

       @        @   @    @     @  @     @  @   @    @              @        @

      @        @    @   @     @  @     @  @    @   @        @     @  @     @

     @        @     @  @@@@@@@   @@@@@   @     @  @@@@@@@   @@@@@    @@@@@

                              Progress Software Corporation

                                       14 Oak Park

                               Bedford, Massachusetts 01730

                                       781-280-4000

          PROGRESS is a registered trademark of Progress Software Corporation

                                 Copyright 1984-2013

                           by Progress Software Corporation

                                 All Rights Reserved

    OpenEdge Release 11.3.1 as of Thu Sep 19 19:02:23 EDT 2013


    PROGRESS SOFTWARE CORPORATION
    14 Oak Park Drive | Bedford, MA 01730 | USA
    PHONE +1 781 280-3008
    richards@progress.com

    www.progress.com

  • Just for the record... This is the answer confirmed by the most OE development folks ever!

    Von meinem Windows Phone gesendet

    Von: Tim Kuehn
    Gesendet: ‎30.‎05.‎2014 16:57
    An: TU.OE.Development@community.progress.com
    Betreff: RE: [Technical Users - OE Development] Suppressing the OE splash screen for a single session

    We have a winner!

       DISPBANNER=no

    did the trick.

    Thx!

    Architect of the SmartComponent Library and WinKit

    Consultingwerk Ltd.

  • As a final note - the big banner's gone, I'm still seeing this:

      OpenEdge Release 11.3.1 as of Thu Sep 19 19:02:23 EDT 2013

    I'm presuming this is from the binary and there's no way to get rid of it.....

  • We're passionate about our splash screens :)  Either that or we're trying to get in extra Community points by the end of the month.  ; )

  • This comes from  type "%DLC%"\version in the .bat file. You'll have to edit that one out if you want it gone, or else write your own script.

  • Hello Tim,
     
    That should be from the version file in %DLC%.
     
    Just rename the version file.
     
    Twitter
    Facebook
    LinkedIn
    Google+
     
     
    From: Tim Kuehn [mailto:bounce-timk519@community.progress.com]
    Sent: Friday, May 30, 2014 11:26 AM
    To: TU.OE.Development@community.progress.com
    Subject: RE: [Technical Users - OE Development] Suppressing the OE splash screen for a single session
     

    As a final note - the big banner's gone, I'm still seeing this:

      OpenEdge Release 11.3.1 as of Thu Sep 19 19:02:23 EDT 2013

    I'm presuming this is from the binary and there's no way to get rid of it.....


    PROGRESS SOFTWARE CORPORATION
    14 Oak Park Drive | Bedford, MA 01730 | USA
    PHONE +1 781 280-3008
    richards@progress.com

    www.progress.com

  • In the script is this:
    :NOBANNER
       type "%DLC%"\version
       "%PROEXE%" -1 %1 %2 %3 %4 %5 %6 %7 %8 %9
     
    Just change it to this:
    :NOBANNER
       "%PROEXE%" -1 %1 %2 %3 %4 %5 %6 %7 %8 %9
     
    Twitter
    Facebook
    LinkedIn
    Google+
     
     
    From: Garry Hall [mailto:bounce-gih@community.progress.com]
    Sent: Friday, May 30, 2014 11:30 AM
    To: TU.OE.Development@community.progress.com
    Subject: RE: [Technical Users - OE Development] Suppressing the OE splash screen for a single session
     

    This comes from  type "%DLC%"\version in the .bat file. You'll have to edit that one out if you want it gone, or else write your own script.


    PROGRESS SOFTWARE CORPORATION
    14 Oak Park Drive | Bedford, MA 01730 | USA
    PHONE +1 781 280-3008
    richards@progress.com

    www.progress.com

  • Ok, I think I've learned everything I could ever want to know about Char "splash" screens. :)

    Thx everyone!

  • Curiously, I think it would have been obvious, if this question were asked about a Unix system, that the first thing one would have done is to look at the shell script and then set environment variables, modify the script, or create a new script to call the binary in the preferred fashion.  With Windows, there is a tendency to think of it as magic, not realizing that some of the same mechanisms are there.

    Consulting in Model-Based Development, Transformation, and Object-Oriented Best Practice  http://www.cintegrity.com