I have a simple batch which saves the content of a specific folder and its subfolders to a text file.
Here's the original command. It is used on a Windows 7 environment.
dir I:\Logistics\Hermes\1445\LIN\ /a /s /b > C:\out\LIST.txt
Problem: It creates the file and also lists most of the folders and files, BUT not all of them.
Here's an extract of the LIST.txt file. The first 4 rows are missing the pdf file in the folder.
I:\Logistics\Hermes\1445\LIN\557487
I:\Logistics\Hermes\1445\LIN\557488
I:\Logistics\Hermes\1445\LIN\557489
I:\Logistics\Hermes\1445\LIN\557669
I:\Logistics\Hermes\1445\LIN\552371\XXXX_641428_20141022_1604.zip
I:\Logistics\Hermes\1445\LIN\552372\XXXX_859038_20141022_1604.zip
I:\Logistics\Hermes\1445\LIN\552379\Overview
I:\Logistics\Hermes\1445\LIN\552379\Overview\manuals_overview_1445_LIN.pdf
I:\Logistics\Hermes\1445\LIN\552381\LTBJ_886469_20141022_1800.zip
I can't figure out why. There are no filters, and other pdfs are listed. The files are not read-only. The user has full read/write permission on these directories.
Is it because the folder names are only numbers ?
I appreciate any help on this batch thing. Thank you !