How to find the non space version of a file name with spaces

I am using windows and need to access a directory and file name that contains spaces. Right clicking the file and choosing properties use to show the non space short name, but it seems windows 7 no longer does this. I’m also at work so I can’t install dosbox.

I’m trying to create a file:// url for the file. The path is:

myserverSHARED ITEMSMy File.txt

How do I get the name that looks something like

file://myserver/shared~1/My~1.txt


Source: windows

Leave a Reply