I'm trying to open Internet Explorer for a specific IE only site.
Depending on the amount of quotes I get
invalid argument
or
file not found
Disclaimer:
Ignore any out of place spaces and capital letters. I can't copy paste my code since my PC has no internet connection and is inside a virtual machine at work. I'm typing this on my phone.
On cmd
%program files%\internet explorer/iexplore.exe -private myurl
works fine
On Excel, Shell commands throws a error file not found
URL = "%program files%\internet explorer/iexplore.exe -private myurl"
Shell """" & URL & """"