I'm now using OneDrive for work. This has caused me some problems with a specific command that I have pined. The OneDrive path now contains spaces dashes and an ampersand.
C:\Windows\System32\cmd.exe /c "START /b /D C:\Users\NJC\OneDrive - A&B Services, LLC\Documents\emacs-26.1\bin\runemacs.exe"
If I click on the pinned icon, I get:
Windows cannot find '-'. Make sire you typed the name correctly, and then try again.
So far I've tried various combinations of caret and char, adding ^" around the command path and a mix of other things but nothing works.
I can not rename the path and I do not have admin on this machine. So I am stuck with the path.
Any suggestion on fixing the quotes