Kind of an odd parameter, but it would be useful if I could run a search that returned only folders that contain a single file. Folders with 2 or more files don't get returned. Can this be done in windows? I could also live with a search that returned the files themselves.
|
feedback
|
|
ONE way this can be done is by using the built-in windows scripting: Two plain text files need to be created in a single folder:
The first two lines of the search script take a folder path (change to suit), and a decision to ignore folders with one file which ALSO have a subfolder. The rest just recursively searches folders and checks the file count. The search_launch batch file will launch the script using the console (rather than the windows gui) and will redirect output (the folder paths) to a text file called I got an "access denied error" when using against | |||||
feedback
|
