http://bugs.winehq.org/show_bug.cgi?id=425
--- Comment #9 from Dan Kegel dank@kegel.com 2008-04-10 09:50:41 --- A user asked about this today http://www.winehq.org/pipermail/wine-users/2008-April/032049.html and pointed out that UNC paths are officially supported (see "Network Shares" in http://www.winehq.org/site/docs/wineusr-guide/misc-things-to-configure ), so I looked at it a tiny bit.
Sure enough, if you smbmount something onto dosdevices/unc/servername/sharename,
$ sudo apt-get install smbfs $ sudo vi /etc/hosts (and add entry for name of windows machine 'fast') $ smbmount -L fast (and verify the expected share is visible) $ sudo mount -t smbfs //fast/dank /mnt $ cd $HOME/.wine/dosdevices/ $ mkdir -p unc/fast $ ln -s /mnt unc/fast/dank
you get the same results executing either /mnt/a.exe or \fast\dank\a.exe:
$ wine /mnt/a.exe err:module:import_dll Library cygwin1.dll (which is needed by L"Z:\mnt\a.exe") not found
$ wine '\fast\dank\a.exe' err:module:import_dll Library cygwin1.dll (which is needed by L"UNC\fast\dank\a.exe") not found
So that's great. However, cmd doesn't support it: $ wine cmd CMD Version 0.9.59
Z:\home\dank>dir \fast\dank Volume in drive Z is Volume Serial Number is 0000-0000
Directory of Z:\fast
File not found
See how it doesn't even recognize it's a UNC drive?
Likewise, Notepad can't browse to a UNC path.
Rob Shearman posted a patch this morning that seemed related, http://www.winehq.org/pipermail/wine-patches/2008-April/053118.html but that doesn't magically make Network Places show up in Notepad's file dialog in my tests.