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.
NT batch file to delete lines
Name: mossy Date: April 20, 2009 at 12:42:25 Pacific OS: NT Subcategory: Batch
Comment:
How would i write a batch file that would open certain text files and remove lines inside these files e.g. lines that start with "2003" up to lines that start with "2007"
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 (*.*) DO ( ECHO starting if IF(0 == (ISDATE %%~zFILE bef...
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:\directoryname\ /S *.ptl however, the return gives me somethi...