Solved

backslash disappears

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
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.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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…

776 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