• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mount Volume with space in it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mount Volume with space in it


  • Subject: Re: Mount Volume with space in it
  • From: Axel Luttgens <email@hidden>
  • Date: Thu, 26 Feb 2009 17:11:53 +0100

Le 26 févr. 09 à 15:28, email@hidden a écrit :

Hello all:

I am trying to write a script to mount user home directories on a 10.4
box. The home directory is an SMB share and the issue appears to be that
the share has a space in the share name.


I have tried:

mount volume "smb://servername/share name"
mount volume "smb://servername/share name"
mount volume "smb://servername/share\040name"
mount volume "smb://servername/'share name'"


do shell script ("mount_smbfs -N //servername/share name") do shell script ("mount_smbfs -N //servername/share name") do shell script ("mount_smbfs -N //servername/share\040name") do shell script ("mount_smbfs -N //servername/'share name'")

None of these have worked I am hoping that one of you can end my pain
where Google searching failed.

Hello Charles,

Quickly tried here by activating the SMB file sharing on a 10.5.6 (client) box; shared folder is named "ab cd", its sharing name being left to its default (i.e. "ab cd" as well).
I then ran that single command
mount volume "smb://servername/ab cd"
in Script Editor on a 10.4.11 box, and have been prompted for a user name/password; once those pieces entered, the mount has been successful.
I also successfully tried
mount volume "smb://user:passwd@servername/ab cd"


So, I guess your setup must somehow differ from the one described here.
Could you have a look?

Axel

PS: BTW, I guess this has been a typo, but doesn't mount_smbfs require a path to the mount point?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Mount Volume with space in it (From: email@hidden)

  • Prev by Date: Re: Mount Volume with space in it
  • Next by Date: Scripts or example scripts for Pages?
  • Previous by thread: Re: Mount Volume with space in it
  • Next by thread: Re: Mount Volume with space in it
  • Index(es):
    • Date
    • Thread