Re: HTA fails when path contains %20 (or any other URI escape)

From: Robert Perry (RobertRimesPerry_at_Yahoo.com)
Date: 03/18/04


Date: 18 Mar 2004 07:27:30 -0800


> Creating a
> path, whether drive-letter or UNC-based, that contains the string "%20" is
> not the same thing.
>

Yes, that was my point. The host should treat Windows file names as
Windows file names, not as URIs. It appears to me that the MSHTA host
doesn't make this distinction.

And it's not just "%20". Any percent character followed by a digit, if
part of the HTA path, will produce the same result.

This is a major oversight in my opinion. It's not uncommon to find a
percent character followed by a digit in a path name. I have several
folder names containing this combination of characters.

Windows Script Host doesn't have this problem. Neither does Internet
Explorer.

- Robert



Relevant Pages