Windows, simple way of gettting path to package with single backslashes

For example, when I have a package called ‘MyPackage’
then I call this to get the package directory

pathof(MyPackage)
"C:\\Users\\User\\.julia\\packages\\MyPacakge\\ouQ51\\src\\MyPackage.jl"

If I want to paste this into windows explorer i need single backslashes.
Trying ‘replace’ doesnt work
i.e.

replace(pathof(MyPackage),"\\","\")

because the REPL doesn’t think the line is finished when return is pressed.

Tim

Try println

julia> a = "C:\\Users\\User\\.julia\\packages\\MyPacakge\\ouQ51\\src\\MyPackage.jl"
julia> println(a)
C:\Users\User\.julia\packages\MyPacakge\ouQ51\src\MyPackage.jl

(PS: I did this on mac so YMMV but I think it should be the same on win)

Yes its the same on Windows. That is also a very simple solution.
Thanks.