Re: [Wine]Setting default or startup directory for win32 program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 10 Oct 2004 18:44:38 -0700, you wrote:

> I'm trying to run a program, hlds.exe, which is the windows half-life 
> server. So far, the only way to get it to start is to use the windows 
> program TotalCommander and start it from there (TotalCommander is a 
> NortonCommander clone). In TC, it shows me a C: drive, and a Z: drive, where 
> the Z: drive appears to be mapped to \
> 
> If I try to start it from within Konqueror, or create a link on the desktop, 
> it gives an error that basically means it's not in the correct directory. 
> Does the concept of default directory apply here? If this was Windows, the 
> problem would be that it's startup directory is wrong, although I created 
> the link in the proper directory. So, I'm thinking that I just don't know 
> how to specify the correct startup directory.
> 
> So, my question is, how do I start a win32 app with wine and force/specify a 
> startup directory? 

sh -c 'cd /start/dir && exec wine hlds.exe'

Rein.
-- 
Rein Klazes
rklazes@xxxxxxxxx
_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux