script mounting of remote shared volumes
script mounting of remote shared volumes
- Subject: script mounting of remote shared volumes
- From: Tod Hallberg <email@hidden>
- Date: Fri, 04 Apr 2003 13:32:46 -0600
- Organization: Monical Pizza Corporation
This is from a while back but I used it just today to help me do the
same thing you are asking.
tod
-------- Original Message --------
Subject: RE: mounting volumes using TCP/IP
Date: Thu, 25 Oct 2001 09:33:46 -0500
From: <email@hidden>
To: email@hidden, email@hidden
If the volume is an afp volume via TCP/IP use-
OS 9
Tell application "Finder"
mount volume "afp://username:email@hidden/shared_volume"
-- it may be "afp://at/username....
end tell
OS X 10.1
If the volume is a Windows volume shared via smb/cifs
Tell application "Finder"
open location "smb:// domain;username:password@server/shared_volume"
end tell
If you're in an NT domain don't forget the domain name then a semi-colon
then username...I couldn't figure it out-then someone named Iwan taught me
that tidbit on the OS X AppleScript Discussion Area.
Hope that helps,
Ron Bishop
-----Original Message-----
From: Elmer Banate [
mailto:email@hidden]
Sent: Wednesday, October 24, 2001 5:03 PM
To: email@hidden
Subject: mounting volumes using TCP/IP
Hi all,
Is there any one can help me to mount volume via
(TCP/IP) which is PC. My script works for Mac volumes
only via appleTalk zone. There is no error when I
compile my script but still the volume did'nt mount.
try
mount volume via(TCP / IP) on server "Vol 2" as user
name "Guest"
on error
set myResult to myResult as string
display dialog "Please check if Vol 2 is available."
buttons "OK" default button 1
end try
Thanks in advance,
Elmer
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.