- Local time
- Today, 12:24
- Joined
- Jan 23, 2006
- Messages
- 15,549
If you know the drives involved, you can probably adapt this to suit your needs. It runs from the command prompt and is very quick.
I use this approach to find and list various file types(zip in the example) and their locations to a text file, then read the text file to an Access table..
I just used this to get a listing of all zip file on my C: drive (all folders and subfolders) and put the list of full paths into the file oldzips.txt
Sample output:
C:\Users\Jack\AppData\Local\Temp\AttachDemo.zip
C:\Users\Jack\AppData\Local\Temp\database11111.zip
C:\Users\Jack\AppData\Local\Temp\demoDataMacro.zip
C:\Users\Jack\AppData\Local\Temp\Review Tracking-forum.zip
C:\Users\Jack\AppData\Local\Temp\SuperHeroes-1.zip
C:\Users\Jack\AppData\Local\Temp\SuperHeroes-2.zip
C:\Users\Jack\AppData\Local\Temp\SuperHeroes.zip
C:\Users\Jack\AppData\Roaming\Notepad++\plugins\config\PluginManagerPlugins.zip
C:\Users\Jack\Desktop\TestImportDec16.zip
You can change the *.zip to *.jpg of all your files are jpg.
Good luck.
I use this approach to find and list various file types(zip in the example) and their locations to a text file, then read the text file to an Access table..
Code:
C:\Users\Jack>dir /b /s *.zip >c:\users\jack\documents\oldzips.txt
Sample output:
C:\Users\Jack\AppData\Local\Temp\AttachDemo.zip
C:\Users\Jack\AppData\Local\Temp\database11111.zip
C:\Users\Jack\AppData\Local\Temp\demoDataMacro.zip
C:\Users\Jack\AppData\Local\Temp\Review Tracking-forum.zip
C:\Users\Jack\AppData\Local\Temp\SuperHeroes-1.zip
C:\Users\Jack\AppData\Local\Temp\SuperHeroes-2.zip
C:\Users\Jack\AppData\Local\Temp\SuperHeroes.zip
C:\Users\Jack\AppData\Roaming\Notepad++\plugins\config\PluginManagerPlugins.zip
C:\Users\Jack\Desktop\TestImportDec16.zip
You can change the *.zip to *.jpg of all your files are jpg.
Good luck.
Last edited: