What is the program launch syntax for wine use in Linux shell scripts?

Questions about Wine on Linux
Locked
909MJOLNIR
Newbie
Newbie
Posts: 4
Joined: Sat May 25, 2024 2:54 pm

What is the program launch syntax for wine use in Linux shell scripts?

Post by 909MJOLNIR »

What is the program launch syntax for use in Linux shell scripts?

If I'm using wine staging, I understand the pathway to the binary file as the first part of the wine launch sytax.

But I'm trying to get a straight answer that I can't yet find in the wine FAQ/wiki.
I keep my programs in a c_drive folder called "Programs" but a few got installed in the default "Program Files" folder. Most programs and folder names are simple, but a few have spaces or maybe other special characters.
I can't always rename those, so what do I do if the program name has spaces in it.

What's the right use of single or double quotes?
And how do I use the "%F" variable.

I have some experience with this stuff, but I just can't find the ACTUAL syntax that doesn't give me errors.
When I try to use the file browser to assign wine start to windows programs, it doesn't always work, and I can't figure out why.

Please help me if you can.
I just need to get this right and memorised one time and then I'm good.
Locked