I’ve written a Uniform Resource Locator (URL) class which is also able to retrieve the content of an url. My question is the way it should handle the tilde ~ char within a file url.
In short: do I have to make file://~ point to file:///Users/userName or it is something only related to the system’s regular path ?
I’ve written a Uniform Resource Locator (URL) class which is also able to retrieve
Share
If I do this:
Start > Run > "file://~" (without quotes) > [OK]I get the following error message:
That said: The tilde
~is a valid character for a filename under Windows. I don’t see why it should get any special treatment.