Was wondering if anyone had any suggestions on a way to search through a directory for files less than 200k in size and write them as a ascii text file.
I know how to write the output from DOS to a file, but I need to find a way to find files that are less than 200k in size from DOS on a Windows XP Pro SP3 system.
* The reason for why the solution is not as easy as a one time use of windows explorer to just sort by file size and then move files to another folder and then perform a DIR command with >>smallfiles.txt is that I want to add this to an automated process that checks and corrects for files that are too small to be correct. Another program that I wrote in C++ will read in the list of file names from that text file and rerun the process for those tasks that were executed with bad file results.
Any language can be used to make this happen, and I was curious as to if batch could be used or if a vbscript or other language would be necessary and if so, how do go about grabbing file names less than 200k in size?