@Christoph Dnbsp;Vocht I can give you examples that it works fine in the Command Prompt and doing the same via shell class it does not work because I had to escape the chars or use quotes differently. :-)
As I said, a hell to use. :-)
Now you got a way to construct your argument line the same way as on a Mac.
The first rule, one way or the other, which means going from Mac to Windows or the opposite, it to leave preconceptions at the door. When you are accustomed, grown into a particular system, it comes naturally and it feels right and logical. Furthermore, the widespread use of declares on one of the platform renders even more difficult the transition to the other.
Using a different platform is not so much hell, as it does require opening to the plain and simple fact that it is like a foreign language. If you keep trying to refer to your native tongue and to translate, or resist because grammar or vocabulary does not feel right, you will fail. If you simply try to speak, with all the stumbling involved, you will soon think in that new language, and it will become natural.
You got to accept the mere fact that what you know on Mac cannot necessarily be applied as is on Windows. And dump the idea that one is better than the other. At least in a business sense, if you are serious about selling to Windows users. What you are going through is a learning period, that's it. Everything has a learning curve, even if Xojo makes it one thousand times easier than it would be without.
Then do not forget some people here are "bilingual" like me, or some mostly Windows, and willing to help the best they can. Both environment can do the same thing if you approach it in good faith. It is just a question of adaptation. Do not get discouraged or antagonized. You will be surprised.
As a matter of fact, a while ago, I was attacked rather fiercely for writing that Windows could emulate the notion of bundle, where the system opens a folder like a file and hands that to an app. I did not know it at the time, but Windows has a bundle class for the web. And I have implemented the behavior for desktop, where a given app is launched with OpenDoc when a folder containing the right /Contents/PkgInfo information or a particular extension is opened.
Fact is, an open mind does wonder.