Summary: How can I create a self deleting batch file. i have the batch file and I know you can use the del command but what I want to do is have it self delete...
Summary: hi.. sorry if this sounds dumb...but i always wondered is there away to create a self destruct batch file ??? i mean if the file is executed it should...
Summary: There is a way to work around my posted NO to self-deleting batch file, but a third party utility is required. First download Sleep.exe (freeware) fro...
Summary: I found this code and tried to modify it for my purposes. I wanted to find the word "cookie" in some text based files and then delete the file if fou...
Summary: I am trying to write a batch file that will delete files in a windows secured temp folder. It is located C:\documents and settings\userprofile\local ...
Summary: I want to do a (preferably) batch file, that searches for a certain string in a file and deletes the line its at. So if for example the file consists ...
Summary: I would like a batch file that will delete sub-directories and the files contained in them, but it should keep the most recent 10 directories. example...
Summary: I have share on a server in which i have files being saved to. I need to purge this folder every so often of files that are no older then 2 days. I ha...
Summary: Hey all, i'm running into a little problem with my batch file. To explain, i am trying to use the rename command (as well as a few other commands) tha...
Summary: I need to create a batch file that will compare files and folders on a server to their counter parts on a workstation and delete anything older than a...
Summary: Relates to an ealier post with title: Batch File deleting files by date? HAD TO CHANGE FOLLOWING TO GET WORKING 1. In Line: for /f "tokens=2" %%i in (...
Summary: I'm needing help with a batch file to check the date of files in a particular directory and delete the files older than 90 days. Is there a way to do ...
Summary: hi thanks a lot for the very speedy reply. i didnt really explain myself too well. i have a lot of text files in a folder and every one has a header, ...
Summary: I have 3000+ folders with unique names, each with several common subfolders within them. What I would like is a batch file that could look in a partic...
Summary: Hi there I'm having trouble accomplishing the below. I would like a batch file that will delete sub directories and the files contained in them, but...
Summary: Hi I am trying to get a batch file to delete files which has dates older than 7 days so far I have @ECHO OFF CLS FOR /R C:\User_share %%FILE IN (*.*) ...
Summary: Hi, I need help with a batch file, i need it to delete all folders, subfolders and files from C:\Documents and Settings except for four folders named:...
Summary: I have asimilar question and I am not sure how to modify your answer to fit my needs, could you point me in the right direction. here it is: I have a...
Summary: I have a batch file that cleans all files out of subfolders and it works fine, but for each folder I'm deleting the contents of, it stops and asks if ...
Summary: Hi, I hav file custom_testverbs.csl file which consists of following text.I need a batch file in which i wil pass function name (say)TEST_SCROLL_UP as...
Summary: I am trying to write a small batch file to delete a type of file (*.ptl) in a directory and all subdirectories, here is what I have: del D:\directoryn...
Summary: I am having a bit of trouble keeping a directory clear of extraneous files, here is the situation. In directory X I have folders A,B and C and they co...
Summary: We have a directory c:\temp that act as storage for a directory monitor for printing before it moves files along. Within c:\temp a unique folder name ...
Summary: Hi, I am new to batch scripting and need some help from all your genius' out there. I want to write a script that will delete files older than 14 days...