Accessing Windows Share from Macintosh
Linux/Mac on February 15, 2009
For those who are wondering how to access your Windows files on a Mac, here is a simple command that can help you….
Create a share in Windows (‘MyHD’ in this case) .
Now to mount the share on your Mac, open command prompt (TERMINAL) and type the following command:
# mount_smbfs -W PETERGROUP //Peter@devworks/MyHD WindowsHD/ where, # mount_smbfs [-W workgroup] //[workgroup;][user[:password]@]server[/share] path
Voila.. your Windows share “MyHD” from machine “devworks” will be accessible from your Mac under the path WindowsHD!!
mount_smbfs [-Nh] [-I host] [-M cmode[/smode]] [-O cuid[:cgid]/suid[:sgid]] [-R retrycount] [-T timeout] [-U user] [-W workgroup] [-d mode] [-f mode] [-g gid] [-n long] [-u uid] //[wkgroup;][user[:password]@]server[/share] path