There is no problem with the code. Such errors are always reported.
Very simple code, but if the code is wrong, there are many problems
Chinese garbled code problem
Due to the use of utf8 coding, I wrote it in Notepad first
windows script host
that ‘s ok: one
Error: Invalid character
Source: Microsoft VBScript compiler error
As long as VBS encoded with utf8 BOM is reporting line 1 and character 1 error
Or the above can use ANSI coding
Normal operation after modification
Some students asked what this software is. In fact, it is powerful, larger than EDITPLUS, slow to start, but free. It is recommended that you use Notepad + + to write script code. Please indicate the source of the original developeppaper article.