Map network drive

Soldato
Joined
18 Oct 2002
Posts
4,925
Location
Yorkshire
Anyone know how to map a network drive without having the icon appear on the desktop ?

Also is it possible for it to attempt to reconnect the drives on startup ?
 
U can get network drives to connect at login by adding them to your login items under preferences. Just drag them from finder or desktop to the login items window.
 
Or create an icon for it on the Dock as I do so it connects when needed, supposidly the issue about finder freezing when the share is disconnected with be resolved in snow leopard thanks the multithreading.
 
I used to have my Time Capsule connected at login via the method mentioned above

(Adding it to Login items, system preferences)
 
little bit more help on this one please guys.

its working fine however on login in its auto popping up the finder windows for each drive mapped. Any way to stop these ?
 
I'd be interested in knowing this too. I cannot find a solution to stop the finder window opening up when logging in. Quite annoying.
 
Holy thread revival Batman!

I took time today to figure this out and I'm pleased to say I have.

You can make an Apple Script that will mount those drives for you. That way, since the system gets a call to mount the drive, there is no call for a new window as the operation happens in the background. You can even include usernames and passwords in there. Here is an example:

tell application "Finder"
try
mount volume "afp://<USER>:<PWD>@<SERVER>/<SHARE>"

on error
display dialog "There was an error mounting the Volume." & return & return & ¬
"The server may be unavailable at this time." & return & return & ¬
"Please inform the Network Administrator if the problem continues." buttons {"Okay"} default button 1
end try
end tell

Here is mine. I right clicked on the Time Capsule disk then "Get Info" and highlighted and copied the server address:

tell application "Finder"
try
mount volume "afp://Time Capsule._afpovertcp._tcp.local/Time%20Capsule"

on error
display dialog "There was an error mounting the Volume." & return & return & ¬
"The server may be unavailable at this time." & return & return & ¬
"Please inform the Network Administrator if the problem continues." buttons {"Okay"} default button 1
end try
end tell

You need to make this in the AppleScript Editor - found in Applications/Utilities/

Then once you have complied it, save it as an application, save it somewhere you like.

Then add the application to run on login (System Preferences - Accounts - Login Items)

Then when you login it will run the script, mount the drive and close the script without opening the finder window.

Any problem's post a reply I'll try to help.

Thanks
 
Whoa holy thread revival batman.

If you don't want to get your hands dirty writing apple scripts ive found a brilliant app recommended by apple which is bonjour mounter http://bonjourmounter.gestosoft.com/en/

It can mount lots of different types of shares (afp, cifs, ftp, webdav, smb etc). Its only $15 which was like £9.

Well worth the money for this handy app.
 
Back
Top Bottom