Open ztx-lyghters opened 2 months ago
I have the exact same problem
I can confirm that excluding spaces from the path solves the problem.
As a workaround, created a bat
script, with just the run command (for example):
start "" "C:\Program Files (x86)\The Path\The Path.lnk"
After that, moved the script to C:\\
and it worked fine
The bug is related to https://github.com/bottlesdevs/Bottles/issues/1357
Describe the bug
Batch files are a common thing which wine handles just fine, but not Bottles, for some reason. Running it via "Run Executable" doesn't work, no error or anything. Adding a shortcut and running it results in the same behavior. But opening a console for that shortcut reveals the error -
Can't recognize '<Path to a .bat file> None' as an internal or external command, or batch script.
Notice the wordNone
after the path to a file. It is a part of the path to the file and I don't know what it is and why it's there. At first I thought that this is the reason. However, as you will see in the troubleshooting log, first try to open the batch file doesn't have this "None" at the end of the path. That was an attempt to run batch file via "Run application" method. I then try to run a shortcut I have previously added, which adds this very 'None' thing.The only way to run a .bat file in Bottles for me currently is to select a bottle and run a "command line", cd to a target directory and run a file from there. This is a very inconvenient method, to say the least.
I'm using a Flatpak version (51.11) of Bottles on Gentoo with i3wm.
To Reproduce
Can't recognize '<Path to .bat file> None' as an internal or external command, or batch script.
error.Package
Flatpak from Flathub
Distribution
Gentoo
Debugging Information
Troubleshooting Logs
Additional context
No response