Re: Executing bat file in Wine from bash shell

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

 



Rezmason wrote:
> Wait, I suppose I don't technically need to run cmd! Just as long as there's some way to pass arguments to an exe from the command line:
> 
> 
> 
> Code:
> wine ./path/to.exe -args="$arg1 $arg2"
> 
> 


you can pass args along just fine...

usually you want to cd into the folder, many programs like you running them from in the folder not just giving the path to them... but most current programs will work either way.

how to pass command line arguments... here is an example using Wine's notepad

wine notepad textfile.txt

will open notepad and pass it the argument to make a new text file called textfile.txt...

as long as the exe knows how to handle the arguments you just stick them on there, no special flags or anything needed.







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

  Powered by Linux