Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 12th October 2017, 15:33
pralash pralash is offline
Member
 
Join Date: Feb 2017
Posts: 61
pralash is on a distinguished road
Baan: 9.0 - DB: SQL Server - OS: Windows 2012R2
Findout the BSE path via script
Baan: Other/Unknown
C/S: None/Unknown

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
Reply With Quote
  #2  
Old 12th October 2017, 16:12
bdittmar's Avatar
bdittmar bdittmar is offline
Guru
 
Join Date: Apr 2002
Location: Germany, 50.584097,8.544078
Posts: 1,639
bdittmar will become famous soon enough
Baan: 2.2/3.1/4c4/LN6.1 FP6/FP9/HiDox - DB: tbase, ms-sql7, oracle10gV1, 11g - OS: HP-UX, W2K3, SLES
bse.dir$()

Hello,
Code:
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
__________________
//Bernd
Reply With Quote
  #3  
Old 13th October 2017, 07:59
pralash pralash is offline
Member
 
Join Date: Feb 2017
Posts: 61
pralash is on a distinguished road
Baan: 9.0 - DB: SQL Server - OS: Windows 2012R2
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
Reply With Quote
Sponsored Links
  #4  
Old 13th October 2017, 11:07
JaapJD's Avatar
JaapJD JaapJD is offline
Guru
 
Join Date: Sep 2002
Location: Netherlands
Posts: 728
JaapJD will become famous soon enoughJaapJD will become famous soon enough
Baan: BaanIV, BaanERP, ERP LN 6.1 - DB: Oracle, SQL Server - OS: Unix, Windows
Code:
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.
Reply With Quote
  #5  
Old 13th October 2017, 12:28
pralash pralash is offline
Member
 
Join Date: Feb 2017
Posts: 61
pralash is on a distinguished road
Baan: 9.0 - DB: SQL Server - OS: Windows 2012R2
It's working fine....
Thanks a lot...
Regards,
Pralash
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Good Practice for storing 'external' source code in BAAN shah_bs Code & Utilities 1 30th July 2008 22:02
Changing device path in program script metbaan Tools Development 5 4th January 2007 17:53
How to print Postcript in landscape orientation heliopaixao Tools Administration & Installation 8 28th July 2006 13:39
Executing Shell Script from Program Script v_chandra Tools Development 3 26th October 2005 07:57


All times are GMT +2. The time now is 09:40.


©2001-2017 - Baanboard.com - Baanforums.com