Well what is going to be authoring that line of code? I am not aware of a NOTEPAD allowing dynamic statements to be generated.
You could have a server side script that receives a request for the the batch file, and it authors a bat on the fly, and displays a link back to where the file is located to run.
Notepad does have the .log function, but .log will not execute a .bat.
Please post back.