Solved

backslash disappears

Posted on 2001-08-30
2
225 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

828 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