Re: Mount Volume with space in it
Re: Mount Volume with space in it
- Subject: Re: Mount Volume with space in it
- From: Emmanuel Levy <email@hidden>
- Date: Thu, 26 Feb 2009 15:38:08 +0100
Title: Re: Mount Volume with space in
it
At 9:28 AM -0500 2/26/09, email@hidden
wrote:
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.
I would try: do shell script ("mount_smbfs -N " &
quoted form of theServerpath)
Escaping spaces in shell commands does not work exactly like
escaping characters in a URL ...
Emmanuel
_______________________________________________
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