backslash disappears

Posted on 2001-08-30
Last Modified: 2013-12-18

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


what i want to get is:


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


how can i correct this.

greetingz Paul
Question by:pvandelouw

Accepted Solution

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))

Author Comment

ID: 6440927
Thanks a lot It really works fine.

Greetingz Paul

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:
  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