◎ What should I do if the file name in HTA cannot be properly displayed with spaces?
<Head>
<Title> image </title>
<HTA: Application
Applicationname = "image"
Scroll = "no"
Singleinstance = "yes"
Windowstate = "normal"
Showintaskbar = "yes"
Maximizebutton = "no"
Minimizebutton = "no"
Scroll = "no"
Navigable = "yes"
Border = "thin"
>
</Head>
<Script language = "VBScript">
Window. resizeTo 330,400
Ileft = (window. Screen. Width-330)/2
ITOP = (window. Screen. Height-400)/24
Window. moveTo ileft, iTOP
Sub liulan
Set objdialog = Createobject ("useraccounts. commondialog ")
Objdialog. Filter = "JPG file | *. jpg |"
Objdialog. showopen
Path = objdialog. filename
STR = "
Tupian. innerhtml = Str
End sub
</SCRIPT>
<Body bgcolor = "0099ff"/set the background color>
<Input type = "button" name = "liulan" value = "" onclick = "liulan">
<Span id = "tupian"> image display area </span>
</Body>
In this HTA, if there is a space in the file name or path obtained in the path (for example, place the image in "My document" or the file name is: Rotate 0010.jpg), the image cannot be displayed normally, could you solve this problem?