All you need is just open the notepad and type the following parameter.

ECHO OFF
DEL C:\test.dat