Re: Mount Volume with space in it
Re: Mount Volume with space in it
- Subject: Re: Mount Volume with space in it
- From: "Reese, Stevan" <email@hidden>
- Date: Thu, 26 Feb 2009 07:41:27 -0800
- Acceptlanguage: en-US
- Thread-topic: Mount Volume with space in it
I went down this road once and concluded that server/share names just cannot have special characters. (Special being anything that you have to escape in the shell.)
Best.
Stevan.
On ThuFeb/26/09 7:31 AM, "David Wolfe" <email@hidden> wrote:
I would think that, at least in the shell script, it would be //servername/share\ name.
In the shell, you escape a space by preceding it with a backslash.
David
On Feb 26, 2009, at 9:28 AM, 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.
Thanks,
Charles Profitt
Sr. Network Technician
Vice President - NYS Ubuntu LoCo
BrainBench Certified - (Master)Microsoft Security | (Master)Storage Area Networks Concepts | (Master)Microsoft Vista Desktop Administration | (Master)Macintosh OS X 10.4 Desktop Administration
----------------------------------------------------------------------
There are 10 types of people in the world: those who understand binary, and those who don't.
Important Notice:
This communication, including any attachments, is intended only for the use of the individual(s) or entity(s) to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this communication is not the intended recipient, you are hereby notified that any dissemination, distribution or reproduction of any part of this communication in any format is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this communication and deleting the original and any automatically generated copies. Thank-you for your co-operation.
_______________________________________________
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
stevan
_______________________________________________
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