Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Mount SMB Volume at Startup

Mount SMB Volume at Startup
Thread Tools
beb
Mac Elite
Join Date: Jan 2002
Location: Kill Devil Hills, NC
Status: Offline
Reply With Quote
Mar 29, 2003, 09:23 PM
 
On OS 9 I wrote/recorded an applescript via DAVE, saved it as an applet and it worked great. Does anybody know how this can be done in applescript on OS X?
     
Sal
Dedicated MacNNer
Join Date: Sep 2000
Location: Cupertino, CA USA
Status: Offline
Reply With Quote
Mar 29, 2003, 10:14 PM
 
mount volume "smb://user:pass@share"
     
beb  (op)
Mac Elite
Join Date: Jan 2002
Location: Kill Devil Hills, NC
Status: Offline
Reply With Quote
Mar 30, 2003, 12:15 PM
 
What if the Windows XP server/box asks me about mounting a particular shared folder?
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Badfort
Status: Offline
Reply With Quote
Mar 30, 2003, 01:15 PM
 
Do you mean startup, or login? If the latter, you can mount the volume with the option to save your password in the keychain, and then drag it into your login items (in System Preferences). Per Sals response and your query, your can include the share name in the URL eg:

smb://name:pass@myserver/share

or, for hidden shares:

smb://name:pass@myserver/hiddenshare$

HTH
You see, my friends, pirates are the key. - thalo
     
Mac Elite
Join Date: Jan 2001
Location: L.A., CA
Status: Offline
Reply With Quote
Mar 30, 2003, 01:47 PM
 
There is also some info about this in this thread.

GL
     
beb  (op)
Mac Elite
Join Date: Jan 2002
Location: Kill Devil Hills, NC
Status: Offline
Reply With Quote
Mar 30, 2003, 02:47 PM
 
Ok, it worked. I had to change the name of the shared folder because it had a space in it.

Thanks for all the help!
     
Mac Elite
Join Date: Jan 2001
Location: L.A., CA
Status: Offline
Reply With Quote
Mar 30, 2003, 06:39 PM
 
Originally posted by beb:
Ok, it worked. I had to change the name of the shared folder because it had a space in it.

Thanks for all the help!
Always nice to see a satisfied customer.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:43 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2