I am trying to create a bat which opens log file to notepad.

Logfile is named by date ddmmyyyy.log

var d;
d= "13052004"
notepad "Path\" + d + ".log"

while executing, bat does not understand my variable d.

Can anyone help me with this?

-Jan