Workdir command line parameter do not accept spaces in path
Trying to run the new Launcher .exe with the additional parameter --workdir works, but it won't accept spaces in the path. I even tried escaping the spaces in every possible way, the result is always the same.
Tried escaping the spaces with:
- Double quoting the full path
- Double quoting the folder inside the path
- Single quoting the full path
- Escaping each space in the folder path with a ^ character
Steps to reproduce:
1 - Open the command prompt (cmd.exe)
2 - Run the following command:
D:\XboxGames\Minecraft Launcher\Content>Minecraft.exe --workdir "D:\TestFolder - HDD\Minecraft\.minecraft"
Expected Behavior:
The launcher should create a ".minecraft" folder under "D:\TestFolder - HDD\Minecraft" and have its working directory as
"D:\TestFolder - HDD\Minecraft\.minecraft"
Current Behavior:
The launcher creates a "TestFolder" folder under "D:" and uses that as its working directory, ignoring the rest of the path specified into the command.
2022-06-14, 02:06 PM
2022-07-26, 03:17 PM
2022-07-26, 03:17 PM
0
1
-