The double % signs are used when executed as part of a CMD file. If you execute this at the command line then only use single %.
_________________________
Home page: http://www.kixhelp.com/hb/