View Single Post
Old 2019-02-24, 18:34   #2
NookieN
 
NookieN's Avatar
 
Aug 2002

2×29 Posts
Default

You'll need to share a folder or drive in Windows, or alternately enable Windows administrative shares (e.g. https://tommynation.com/enable-remot...es-windows-10/). Those will give you access to all drives (C: would be C$) but you should only do that on a local and trusted network.

In a modern version of linux the command to mount the Windows share would be in the form:

mount -t cifs //<windows machine name>/<share name> <linux mount path> -o uid=<linux username>,username=<windows username>,password=<windows password>

Example:

mount -t cifs //primer/c$ /mnt/c -o uid=wildrabbit,username=wildrabbit,password=secret
NookieN is offline   Reply With Quote