self deleting files, setting a delay time - TechRepublic
Question
June 21, 2010 at 07:32 PM

self deleting files, setting a delay time

Hi
how can i set the time at below code to activate the self deleting batch file after some minute, hours or days;
@echo off
Type “file”
PING 127.0.0.1 -n 1 -w “time” >NUL
DEL “file”
DEL %0
EXIT

thanks

This discussion is locked

All Comments