-
Vladimir Mylnikov
- PowerBuilder
- Saturday, 7 March 2026 12:22 AM UTC
I am using PowerBuilder 2022 R3. Some clients are reporting an issue with Run function. I use a Run function to start a .bat file which, in turn, runs a very small Windows .exe - a conversion which converts CSV data into formatted text file. Everything runs in my environment. Yet the end users report that the program fails, even though I check the return status.
IF Run(dos_command)=-1 THEN //error trap
Meanwhile, the clients can run the same command using CMD on Windows. I think that this is a security policy on the end users' machine. But, the same functionality used to work with PowerBuilder 2017, users did not report the problems.
Any idea what to check/troubleshoot? Any Windows settings?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.