pralash
12th October 2017, 16:33
Hi,

I'm new to LN Programming.... I want to know that how to find out the BSE path through programming script... Can anybody assist me to do this task...
Regards,
Pralash

bdittmar
12th October 2017, 17:12
Hello,

bse.dir$()
Syntax:

function string bse.dir$ ()

Description


This returns a string containing the name of the directory where the Baan Software Environment is installed. The function uses the environment variable BSE to retrieve the information. If this variable is not filled, bse.dir$() returns the string "/usr/bse".


Context

This function can be used in all script types.

Regards

pralash
13th October 2017, 08:59
Thank you very much....
It's working fine for me...
But I got BSE path like C:/ERPLN.... But I want to get the path like that C:\ERPLN... So how can I get the path as windows method instead of unix...
Regards,
Pralash

JaapJD
13th October 2017, 12:07
windows.path = str.replace$(bse.dir$(), "/", "\")

But in my Windows environment, it is returned in Windows style... Check you Infor ES Manager how the BSE has been defined there.

pralash
13th October 2017, 13:28
It's working fine....
Thanks a lot...
Regards,
Pralash