I am needing to access a data file on the network drive from an
application within wine. Please can anyone tell me how to set this
up. Assume virtually no prior knowledge of linux. I have read the
wine user guide and tried entering the command given in the section on
Network Shares but that didn't seem to work. Google searches have not
seemed to make anything clearer.
You'll have to mount the network share first, and then map the
drive letter to that directory, e.g:
smbmount //server/share /mount/dir -username=... -password=...
and map drive Z: to /mount/dir.
If your program requires to use an UNC-pathname, you can do the
following (it's a little tricky, but worth the effort):
1) create the directory ~/.wine/dosdevices/unc
2) create a subdirectory inside with the name of your server
3) create a softlink in that subdirectory pointing to the
directory where you've mounted the share.
It should look something like this:
$ ls -l ~/.wine/dosdevices/unc/<yourservername>
<sharename> -> /mount/<dir>
HTH,
Felix