Hi,
Here is a apple script to mount a network drive.
using the script editor, export as app instead of script.

tell application "Finder"
    try
        mount volume "smb://193.169.0.6"
    end try
end tell

replace the IP address with the IP of your drive.
Thanks,
Rob
Sent from my MacBook

On Feb 13, 2015, at 8:25 PM, Barry Hadder <[email protected]> wrote:

> Yeah I see that now.
> Another option is to create an automator work flow and save it as an app.
> The work flow will only have get specified server and connect to server in 
> that order.  In the get specified server, just enter the server url.
> Then save it as an app.  I’ve tried it and it connects and mounts at login 
> without the finder window opening.
> 
> There is another way as well which involves editing the /etc/fstab file, but 
> I’m not sure off the top of my head how to create an entry for a network 
> drive.
> I should add that if you want to try to go that root, you only edit fstab 
> using vifs.
> 
> And, there is yet another way using launchctl, but I’m not going to try to 
> tell you how to do that either it as I don’t actually have a nas.  I’m just 
> using an ftp server for testing.  You would want to use something like 
> mount_afp or mount_smbfs.  You can look at the man page and play around with 
> it.  The automator app is probably the easiest option though.
> 
> 
> 
> 
> On Feb 13, 2015, at 7:30 PM, Rob <[email protected]> wrote:
> 
> OK, I tried that but it still opens a finder window of the drive.
> even when the hide checkbox was checked, so I deleted it.
> I will try it again.
> if it continues to open the finder window, do you have any more suggestions?
> 
> On 2/13/2015 6:28 PM, Barry Hadder wrote:
>> To keep something from opening at startup, you need to check the box in the 
>> hide column next to it in the startup apps table.
>> 
>> On Feb 13, 2015, at 5:37 PM, Rob <[email protected]> wrote:
>> 
>> Hi,
>> Can someone remind me
>> How to  mount networked drive at startup?
>> I added it to user/log on apps, but that caused the drive to open once the 
>> Mac booted.
>> I want the drive to show on the desktop, but not open.
>> 
>> Thanks,
>> Rob
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/macvisionaries.
> For more options, visit https://groups.google.com/d/optout.
> 
> Barry Hadder
> [email protected]
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/macvisionaries.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.

Reply via email to