• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Make windows network share looks like directory under root?

mxnerd

Diamond Member
I'm a newbie to linux and Ubuntu 8 desktop and I want to run windows programs accross the network using WINE Windows emulation.

The Windows programs are stored on Windows 2003 server "srv" in folder level1

in this folder there is a main menu program that will call other sub-system program under other sub-folders. The programs does not require any installation, it can be run directly.

The directory structure look like this


\level1\sysname\menu.exe
\level1\sysname\sys1\sys1.exe
\level1\sysname\sys2\sys2.exe
\level1\sysname\sysn\sysn.exe
\level1\sysname\sysdata\*.dat
\level1\sysname\sysconfig\config.ini

and I shared level1 folder over the network.

I have confirmed that the program ran fine if I copy the whole \sysname folder onto Ubuntu root directory.

The problem with this system is each exe file looks for absolute directory sysname under the root, so when ran over network, the directory must looks like the level1 folder is not there. So just connected to the share, with a bookmark or not, when you ran the program, the exe files complain they can't find \sysname\sysconfig\config.ini file.

My question is, how can I make or mount a remote windows share folder under the Ubuntu root directory so these exe files can run correctly?

Thanks!!
 
mount -t smbfs //winfileserver/shared_dir /some/mount/point


so in your case,
mount -t smbfs //servername/level1 /level1

should work, i think.
 
The files are stored on Windows Server, and I wanted to run these program from Linux workstation, not vice versa (use Linux as SMB server).

Colt & n0c's advices did not work.

you can specify any directory be assigned a drive letter

How?
 
Thanks. I guess I have to spend sometime figuring out exactly what above 3 commands do and how they works before going further.

 
winecfg is a GUI app that lets you configure WINE, once you have the SMB/CIFS share mapped somewhere just tell WINE to use that directory for a specific drive letter.
 
Back
Top