Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何检查文件服务器当前是否已连接?(使用 AFP 连接)对不起,如果我问错了。
如果安装了服务器,则在/Volumes.
/Volumes
if "serverVolume" is in do shell script "ls /Volumes" then ... -- server is mounted
替换serverVolume为卷的名称。
serverVolume