M
Mary
I want to write a batch file to run on startup to clear out the local
settings/temp folder of all files except those with today's date.
So far I have compiled:
cd\
cd C:\Documents and Settings\name\local settings\temp
del /Q *.*
echo Deleting Files
echo File Deleted
pause
exit
How can I instruct it to not include files with today's date?
Does the rest look OK?
Thanks
settings/temp folder of all files except those with today's date.
So far I have compiled:
cd\
cd C:\Documents and Settings\name\local settings\temp
del /Q *.*
echo Deleting Files
echo File Deleted
pause
exit
How can I instruct it to not include files with today's date?
Does the rest look OK?
Thanks