[NEWSboard IBMi Forum]
  1. #1
    Registriert seit
    Nov 2001
    Beiträge
    170

    PCSBAT.exe startet Stapeldatei-Editor, Win 7 Pro

    Hallo zusammen,

    auf einem Win7-Pro-PC (64bit) startet beim Aufruf einer -BCH-Datei die PCSBAT.exe die einzelnen Sessions, sondern einen Stapeldatei-Editor. Neuinstallation ClientAccess hat nichts gebracht. Die Löschung aller Dateiendungsverknüpfungen auch nicht. Nachdem ich die Dateiendung .BCH der üblichen PCSBAT.exe zugeordnet habe, startet wieder der Editor.
    Weiß jemand Rat ?

    Danke im voraus !

  2. #2
    Registriert seit
    Feb 2001
    Beiträge
    20.241
    Das Problem ist, dass es den Dateityp-Editor seit Windows Vista nicht mehr gibt.
    Ggf. wird die Standard-Einstellung für "Öffnen" mit Bordmitteln nicht überschriieben (ggf. Super-ADMIN-rechte erforderlich).
    Vielleicht hilft dir folgender Link weiter:
    http://www.nirsoft.net/utils/file_types_manager.html
    Damit kannst du die Endungen wieder vernünftig bearbeiten.
    Dienstleistungen? Die gibt es hier: http://www.fuerchau.de
    Das Excel-AddIn: https://www.ftsolutions.de/index.php/downloads
    BI? Da war doch noch was: http://www.ftsolutions.de

  3. #3
    Registriert seit
    Feb 2001
    Beiträge
    20.241
    Das Problem ist der Kommandoparameter:
    C:\Program Files (x86)\IBM\Client Access\Emulator\pcsbat.exe "%1" /r
    So kann Windows 7 das selber (bei öffnen mit als Standard festlegen) nicht eintragen.
    Obiger Editor bedarf keiner Installation (korrekte Version x64 beachten) und kann direkt aufgerufen werden.
    Dienstleistungen? Die gibt es hier: http://www.fuerchau.de
    Das Excel-AddIn: https://www.ftsolutions.de/index.php/downloads
    BI? Da war doch noch was: http://www.ftsolutions.de

  4. #4
    Registriert seit
    Nov 2001
    Beiträge
    170
    Danke, ich habe jetzt eine eigene .bat geschrieben, die die .ws-Dateien nacheinander startet.
    Das kann ich einfacher verteilen.

    Da wir jetzt von XP auf Win8 umsteigen, werde ich das Programm jetzt ja wohl standardmäßig haben.

  5. #5
    Registriert seit
    Feb 2001
    Beiträge
    20.241
    Nach einer korrekten Installation von CA werden die Dateiendungen korrekt registriert.
    Leider ist dafür auch Admin erforderlich!
    Es gibt auch keine Startoption, die Dateiendungen korrekt neu zu registrieren.
    Man kann allerdings über regedit.exe die Schlüssel in eine ".rgs" exportieren und jederzeit (als Admin ausführen), diese .rgs wieder importieren.
    Dienstleistungen? Die gibt es hier: http://www.fuerchau.de
    Das Excel-AddIn: https://www.ftsolutions.de/index.php/downloads
    BI? Da war doch noch was: http://www.ftsolutions.de

  6. #6
    Registriert seit
    May 2002
    Beiträge
    2.642
    Hallo,
    ich vermute hier ist die Lösung:
    PC5250 Batch Session Files Open in the Editor after Change in File Association
    Technote (troubleshooting)

    Problem(Abstract)

    This document discusses an issue where the PC5250 Batch (.bch) session files open in the editor instead of executing.
    Resolving the problem

    This document discusses an issue where the PC5250 Batch (.bch) Session files open in the editor instead of executing.

    Generally, this happens after the Windows File Association was changed for the PC5250 Batch Session files of .bch to be opened with a different Windows application and not Access for Windows PC5250 emulator. Usually, this will be Wordpad or Notepad because the user was going to edit that file in a text editor.

    The standard Windows tools are used to tell a .bch file in Windows to be opened with the Access for Windows PC5250 Batch Session executable of PCSBAT.EXE to resolve this. The .bch files are no longer opened in the Windows editor. They are opened with the Access for Windows PC5250 Batch Session application; however, they are opened in edit mode.

    This is because the same executable of PCSBAT.EXE is used to run and edit the files. There is a switch that is passed to differentiate between run and edit mode.

    When Access for Windows PC5250 is initially installed, the Windows file association is correctly set for .bch file to call PCSBAT.EXE in run mode. However, when a normal file association is made, it is for the default of PCSBAT.EXE which is edit mode.

    The file association needs to be changed in Windows using REGEDIT.

    To change the file association in REGEDIT you should do the following:
    1. Go to the following path:

    HKEY_CLASSES_ROOT\Applications\pcsbat.exe\shell\op en\command

    The entry likely looks like this:

    Default = "C:\Program Files\IBM\Client Access\Emulator\pcsbat.exe" "%1"
    2. Change the entry to the following:

    Default = "C:\Program Files\IBM\Client Access\Emulator\pcsbat.exe" "%1" /r

  7. #7
    Registriert seit
    Feb 2001
    Beiträge
    20.241
    Schön, dass IBM das mit dem "/r" auch gefunden hat . Siehe meinen Kommantar oben.
    Dienstleistungen? Die gibt es hier: http://www.fuerchau.de
    Das Excel-AddIn: https://www.ftsolutions.de/index.php/downloads
    BI? Da war doch noch was: http://www.ftsolutions.de

Similar Threads

  1. Hilfe! Bei IPL startet TCP IP nicht richtig
    By lemmi in forum IBM i Hauptforum
    Antworten: 8
    Letzter Beitrag: 26-02-03, 23:56
  2. Operations Navigator startet nicht
    By TARASIK in forum IBM i Hauptforum
    Antworten: 1
    Letzter Beitrag: 26-02-03, 07:41
  3. Managment Central startet nicht
    By Gattringer in forum IBM i Hauptforum
    Antworten: 9
    Letzter Beitrag: 30-09-02, 13:06
  4. TCP startet mit Fehler
    By chera in forum IBM i Hauptforum
    Antworten: 1
    Letzter Beitrag: 14-02-02, 13:26
  5. Datei Editor
    By chrisi in forum NEWSboard Server Software
    Antworten: 0
    Letzter Beitrag: 06-07-01, 09:24

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • You may not post attachments
  • You may not edit your posts
  •