Salesforce

Running prowin32.exe from an OS-COMMAND session returns an error regarding promsgs when using Windows substitute drives

« Go Back

Information

 
TitleRunning prowin32.exe from an OS-COMMAND session returns an error regarding promsgs when using Windows substitute drives
URL Name000045819
Article Number000165518
EnvironmentProduct: OpenEdge
Version: 11.1
OS: Windows
Question/Problem Description
Running prowin32.exe from an OS-COMMAND session returns an error regarding promsgs file when using Windows substitute drives.
The problem only occurs if the main Progress session has not been started from the substitute drive.
The current directory for the substitute drive is changed to "proedit\win" if the main Progress session has not been started from the substitute drive.
Steps to Reproduce
Clarifying Information
The %DLC% path has been substituted by a drive letter using the Windows "subst" command.

Steps to reproduce:

1) Within a Proenv session run the following: subst H: %DLC%
2) Make a copy of %DLC%\bin\progress.ini and change all references of %DLC% to H:\ 
3) Change to C: drive, e.g. use c:\ Dos command. 
4) Run: H:\bin\prowin32 -ininame H:\bin\progress2.ini -basekey "INI" 
5) Execute OS-COMMAND to open a new DOS window.
6) In the new DOS window run: H:\bin\prowin32 -ininame H:\bin\progress2.ini -basekey "INI"
7) In the new DOS window change to the H: drive and notice that the current directory has changed to "H:\proedit\win".
Error Messagemsgopen:unable to open message file:PROMSGS
Defect NumberDefect PSC00286252
Enhancement Number
Cause
The exact cause is not known at this time.
Resolution
Until the fix is available, use the workaround below.
Workaround
Call a batch file that first changes to the substitute drive, for example the batch file may look like this: 

C:\Users\user1> cd H:\ 
C:\Users\user1> H:\bin\prowin32 -ininame h:\bin\progress2.ini -basekey "INI"
Notes
Keyword Phrase
Last Modified Date2/15/2018 12:13 AM

Powered by