I have two computers, a desktop with Ubuntu 17.04 and a notebook with Windows 8. Both are in the same local area network. The notebook's HD has 2 partitions, identified by the drive letters C: and D:.
Sometimes I need to get files available on the notebook through the desktop. For example, to access C:\Users\MyName folder, I do...
sudo mount -t cifs //192.168.xx.yy/Users/MyName /mnt/share -o username=foo,password=bar
This works perfectly. The question is: How to access a folder that is in the notebook's D: drive?