Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Delete files containing known text
Name: keridbey Date: June 5, 2008 at 04:38:31 Pacific OS: WinXP Pro CPU/Ram: 1.83 Ghz / 1 Gb Product: Dell
Comment:
I'm trying to find a way via either batch file or VBS to check the contents of a large number of .TXT files in a particular directory for the words "delivery failure" (case insensitive) and delete only the files that contain that phrase. I have thousands of files to go through, so a script of some sort is going to be a must. Any thoughts? Thanks!
Summary: I do hope I'm posting in the right place, (this type of forum is new to me) If so, I have an XP batch file prob. I'm trying to delete this from a text file blank line (i dont want it) blank line (i d...
Summary: Greetings All! The following MS-DOS code will delete any specified files, in specified location, and older then a specified date. "Delete files by older-then-date". Quick pseudo example: Delete *.t...
Summary: Hi What im trying to do is adding text to a txt file using the echo command in the dos promt. For example, if the txt file contain this text: hiui d gigi <-- on this line I want to add some text d...