[Wine] Re: win32 command line arguments

jeffz wineforum-user at winehq.org
Mon Jan 11 22:31:26 CST 2010


ouser wrote:
> Dear forum,
> 
> I want to execute a batch file. It's content is:
> ---
> start \\server\share$\application.exe datadictalias=example projectalias=project %1 %2
> ---
> 
> I tried to run the executable as follows:
> ---
> wine ./application.exe datadictalias=example projectalias=project %1 %2
> ---
> 
> as in the documentation but the application says: "No datadictalias parameter or parameter is inefficient".
> 
> My question is: how can I run the application with the datadictalias=example projectalias=project  arguments?
> 
> regards,
> ouser


The first example uses UNC pathname, which is not supported.  You need to map the network share using samba or some other part of your system which will use samba and then modify the batch file to use the path it is mounted on eg /mnt/networkshare

The second example does not make sense, the %1 and %2 cannot be passed to a program directly, it's part of the batch file and means first and second argument to the batch file.

Eg,  test.bat first second
%1 contains first
%2 contains second







More information about the wine-users mailing list