This question already has an answer here:
I want to make a relative link in Windows 7 to a path that contains a space character.
Making a relative link without a space in the path works as follows (explained here):
%windir%\system32\cmd.exe /c start .\somepath\myfile.xlsx
But in my case I have a space in the path:
%windir%\system32\cmd.exe /c start .\some path\myfile.xlsx
I know that normally you have to wrap your path with double quotes when creating shortcuts. This works well when having absolute links.
But the following solutions do not work in my case:
%windir%\system32\cmd.exe /c start ".\some path\myfile.xlsx" %windir%\system32\cmd.exe /c "start .\some path\myfile.xlsx"
I also tried to use other quotes quotes (
') with the above combinations but I did not succeed.
Do you know what I am missing here?