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.
Batch code to search for new files
Name: aegis Date: May 6, 2008 at 12:25:20 Pacific OS: XP Home SP2 CPU/Ram: AMD 64/2gb Product: Generic
Comment:
I need a batch file to search a bunch of sub folders. The following is an example: main\sub1\new main\sub2\new main\sub3\new etc I need to search all the 'new' folders for files. If any are found then display the 'sub?' name followed by the files in its new folder. I would really appreciate it if someone would help me out.
They work fine and it's amazing what you folks can do with just a few lines of code. Mechanix2go's method worked the best for me, but there was one 'minor' problem. The screen overflows with lines showing the empty folder names and 'File not found' mesages for the folders with no files in them. I don't want to appear ungrateful, but it sure would be nice if only the folders 'with files' would show up and those 'file not found' lines wouldn't.
If not, thanks very much guys (or gals as the case might be)!!!!
0
Response Number 5
Name: Razor2.3 Date: May 7, 2008 at 15:42:37 Pacific
Reply:
Attach the following to the end of the implementation of your choice:
Summary: I need help generating a Batch Script that will detect new Files larger that a specified size. I need this to run on an entire volume as the directory structure is created durring the addition of the ...
Summary: All, help please.... I've managed to cobble together the below code to search for files held in a list within a defined drive. When testing this I notice that it will not locate hidden files. Is there...
Summary: hi, i need a program/script to search for a file, if it finds it search for a more relcently modified than the last file on the network(because people are constantly..... ...