File protocol with Windows system path variables

I want to know if there is a way to use windows system path variables with file protocol.

Examples:

file:///%WINDIR%\System32\calc.exe
file:///C:\Users\%USERNAME%\Desktop

      

The above examples won't work, so I need something like this.

Thank.

PS: The above examples work in Windows Explorer, but don't work in browsers like Chrome.

+3


source to share





All Articles