Delete file on boot up
Posted on 2005-03-14
Is there a way to get Win XP to delete a file on boot up? In the older versions I could add "del c:\Documents and Settings\cjsa\Desktop\access.log" to the autoexec.bat file and it would delete the file before I got into the desktop & the file was in use.
I tried adding that line to the autoexec.nt file but it ignores it.
The access.log file is created by my abyss webserver and is in use as soon as windows enters the desktop, what I want is every time I restart the system it deletes the file & then when it gets to the desktop the Abyss server will create it again.