After upgrading to OS/X I’m no longer able to get the path of my local Mac hard drive. I used this script to get it in OS9. The MacPath variable is no longer working;Dim workspace As New NotesUIWorkspace
Dim files As Variant ' the path to upload from
Dim Folder As String
Dim FileArray() As String
Dim i As Integer
Dim doc1 As NotesDocument
Dim db1 As NotesDatabase
Dim session As New NotesSession
Dim rtitem As Variant
Dim object As NotesEmbeddedObject
Dim pathName As String, fileName As String
Dim TMP As String
Dim Macpath As String
Dim pos1 As Integer
Set db1 = session.CurrentDatabase
i = 0
MacPath = Strleft(Curdir() , ":") ' set default directory as root of HD
files = workspace.SaveFileDialog(True, "Folder to upload from", "", MacPath)
Subject: How to find OS/X local drive name
If you step through the code, what does the db1 variable tell you what the delimiter is?
Subject: RE: How to find OS/X local drive name
News flash: the Mac client does not have a lotusscript debugger 
You can use a ‘print’ though 
cheers,
Bram
Subject: RE: How to find OS/X local drive name
Argghhh! I just discovered that the LS debugger is gone… so much for a “even parity” Mac client. I’m using a msgbox(variable name) to see what’s happening. It is actually getting the correct name for the root of the hard disk, so the problem is elsewhere.Thanks for the pointer.
Subject: RE: How to find OS/X local drive name
It’s perfectly even – the debugger is only available when the Designer client is installed. Notes-only Windows installs don’t have the debugger either.
Subject: RE: How to find OS/X local drive name
My Notes 5 Mac client has the debugger. I do not have the Designer installed.
Cheers,
Subject: RE: How to find OS/X local drive name
… and the debugger was available with a Notes-only install in the Windows R5 version, too. See? Parity. The way I understand it, the debugger was removed from the Notes-only installation because it represented a way for the user to avoid running code that could be critical to an application’s operation and/or security (specifically, the QueryEvent/PostEvent code blocks).
Subject: How to find OS/X local drive name
I noticed a similar problem with the DIR function using 6.5 on Mac OS X. The problem went away when I upgraded to 6.5.1. Try upgrading to 6.5.1 or higher.
Cheers,