Hi
First you should know the Metro style browsing experience doesn't support Microsoft ActiveX or any other binary extensibility.
http://msdn.microsoft.com/en-us/library/ie/hh801221(v=vs.85).aspx
You can only open it in IE 10.(So please choose a right forum to post your question next time, you may get more quickly anwser.)
And
In this code, WshShell.Run method just like run a command in your Command
Prompt.
You cannot use D:\a b.txt to open the a b.txt in CMD.
All you need to do is add "" like this:"D:\a b.txt"
So if you have spaces you need to add ' out of the string.
For example:
WshShell.Run('"D:/a d.txt"', 1, false);
Hope it helpful.