I'm trying to write an alias to back up all of the files in my mIRC directory to another directory, but this doesn't work, because it doesn't seem to like me using *.*. I figure there is probably some identifier that I can use and this also would probably involve a loop, but I don't know what to do. Thanks for any help, and here's what I tried.

Code:
/backup {
  var %month = $gettok($date,1,47)
  var %day = $gettok($date,2,47)
  var %year = $gettok($date,3,47)
  var %newfolder = %month $+ %day $+ %year
  mkdir L:\ $+ %newfolder
  copy "C:\Program Files\mIRC\*.*" L:\tempbackup\ $+ %newfolder
}