Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

.Joel

macrumors member
Original poster
May 10, 2005
93
39
Hey all,

I have a folder shared on a Win XP box at the other end of the house. It is like a public dump folder for our home network. I have the other XP boxes set so on boot they automatically Map to the network drive. However on the mac, each time I need to browse to the computer, click which folder I want to mount etc etc. Is there a way so on bootup the Mac automatically mounts the folder on the remote machine ? This would help as various applications use this folder for dumping of large large large psd files and huge cad files.

Regards,

.Joel
 

matticus008

macrumors 68040
Jan 16, 2005
3,330
1
Bay Area, CA
.Joel said:
Hey all,

I have a folder shared on a Win XP box at the other end of the house. It is like a public dump folder for our home network. I have the other XP boxes set so on boot they automatically Map to the network drive. However on the mac, each time I need to browse to the computer, click which folder I want to mount etc etc. Is there a way so on bootup the Mac automatically mounts the folder on the remote machine ? This would help as various applications use this folder for dumping of large large large psd files and huge cad files.

Regards,

.Joel

You can use Applescript to do this (or use Automator, if you have Tiger). I don't have the script details on hand, but if you're not familiar with Applescript, Automator might be best. Just drag the appropriate actions from the Finder list into the workspace, enter the proper information (login name, password, share name) and save it as an application. You can add this to your login items (in User Accounts) and it'll run every time you log in, automatically connecting to the proper share.
 

matticus008

macrumors 68040
Jan 16, 2005
3,330
1
Bay Area, CA
.Joel said:
Awsome thanx, I'll give that a go now.

Regards,

.Joel

Sure thing. And just for the sake of completion, I dug up the Applescript in my login items.

tell application "Finder"
try
mount volume "smb://username: password@computername/sharename"
delay 1
end try
end tell

You can then get fancy and include conditions that popup a dialog on success or failure (display dialog "The Videos share on Firewire-2 mounted successfully, yo."), but above is the basic code you would need. (Ignore that space before 'password'--the forum thought it was a smiley).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.