Getting "afp://..."-path for an already mounted volume

Hi,

When I click my network volume “factor” and press Apple-I, I get this information in an info-window:

“Server: afp://xbox/factor”

I need that path in my script. How do I get it?

Unfortunately, even the commandline doesn’t give it to me:

mount | grep factor

afp_000YYn3V0hDq001Eic06SdO0-1.2c000006 on /Volumes/factor (nodev, nosuid, mounted by ratti)

Hm.
Please help.

Thanks,
Ratti

A thought since no one has posted…


tell application "Finder"
	set ServerPath to open location (choose URL showing File servers)
end tell

That brings up a prompt. When you choose the server it’s path should come up in the result window.

SC

Thanks for trying.

But that was not the problem. I don’t need to mount a volume - I need the remote path to an already mounted volume.

Bye,
Ratti