How Do I Label a Mounted Volume?

K

Kenji

I'm mounting a server on my computer with VBA code. I was wondering how I
can label the mount?

Right now

test = MacScript("tell application ""Finder""" & vbCr & _
"if not exists ""xdb"" then" & vbCr & _
"Mount Volume "http://www.server.com/xdb"" & "
as user name ""john"" with password ""smith""" & vbCr & _
"end if" & vbCr & _
"end tell")

gives me a label called "xdb"

Thanks for any tips.

Kenji
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top