Accessing Windows Share from Macintosh

For those who are wondering how to access your Windows files on a Mac, here is a simple command that can help you….

Prerequisite :
Create a share in Windows (‘MyHD’ in this case) .

Step :
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/

# 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!!

Command Details:
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

Leave a Reply