Brand new to this forum and also DOS programming.
I've created a very simple script which should delete all the .DS_Store and thumbs.db files on one of our Windows network shares.
F:
DEL /S /A:H .DS_STORE
DEL /S /A:H ._.DS_STORE
DEL /S /A:H THUMBS.DB
> "*path*\DS_STORE&THUMBS_FTP.txt"
pause
Obviously I would like this to print out a .txt file called DS_STORE&THUMBS_FTP to the path specified, but when I do execute this, no file appears and I can't see any reason for this?
I know the path is correct because if I precede the last line with the 'dir' command it will write a directory listing into a file with that name in the path specified.
Like I said, I'm new to this but I appreciate any help anyone can provide

Another thing I'd like to ask- on this text file, is there a way to create it so the time & date print at the top of it?
Thanks again!