Solved

backslash disappears

Posted on 2001-08-30
2
220 Views
Last Modified: 2013-12-18
Hello

I want to get the path of de current database, but without de filename. in lotusscript.
so for example i have the following file.

c:/lotus/notes/test.nsf

what i want to get is:

c:/lotus/notes/

I am trying this with Evaluate("@ReplaceSubString(pad, filenaam, )

when i do this i get the correct path only without the slashes, so i get

c:lotusnotes

how can i correct this.

greetingz Paul
0
Comment
Question by:pvandelouw
2 Comments
 
LVL 4

Accepted Solution

by:
martijnmulder earned 50 total points
ID: 6440892
in the formula it removes the single backslash. try the following:

GLDbPath = Left$(db.FilePath, Len(db.FilePath)-Len(db.FileName))
0
 

Author Comment

by:pvandelouw
ID: 6440927
Thanks a lot It really works fine.

Greetingz Paul
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now