Further clarification
1. This shows the code in the Computer hope article
The quote before hope.txt is correct.
2. This shows the code in your post. The quote immediately before File.exe is the wrong kind.
Also, the article is misleadingly inaccurate:
When %date% is used in a batch file it displays the date in the following format: Sun 09/02/2007
The date is not displayed like that in most countries outside the USA.