I am appending to a file called EDI_Results.txt.
I am using "dir >> C:\FTPData\EDI\EDI_Results.txt" to append the current directory to the file EDI_Results.txt. The file ends up looking like this.....
=============== BRIDIUM EXPORT ==================
Volume in drive C is OS
Volume Serial Number is 709D-2487
Directory of C:\FTPData\EDI\Export
05/14/2010 08:58 AM <DIR> .
05/14/2010 08:58 AM <DIR> ..
05/15/2009 04:59 PM <DIR> 2003
05/15/2009 04:59 PM <DIR> 2004
05/15/2009 04:59 PM <DIR> 2005
05/15/2009 04:59 PM <DIR> 2006
05/15/2009 04:59 PM <DIR> 2007
05/15/2009 04:59 PM <DIR> 2008
05/15/2009 04:58 PM <DIR> 2009
12/23/2009 11:02 AM <DIR> 2010
05/13/2010 06:52 PM 76,963 bridium.txt
05/15/2009 04:58 PM <DIR> MMI
05/13/2010 09:00 PM 708,721 MMIClaimExtraction
05/13/2010 04:44 PM <DIR> PROCESSES
07/30/2009 08:25 AM <DIR> StateIN
2 File(s) 785,684 bytes
13 Dir(s) 51,192,061,952 bytes free
================= BRIDIUM IMPORT =====================
================= BRIDIUM IMPORT =====================
Volume in drive C is OS
Volume Serial Number is 709D-2487
Directory of C:\FTPData\EDI\Import
05/14/2010 08:05 AM <DIR> .
05/14/2010 08:05 AM <DIR> ..
05/15/2009 04:58 PM <DIR> 2004
05/15/2009 04:58 PM <DIR> 2005
05/15/2009 04:58 PM <DIR> 2007
05/15/2009 04:58 PM <DIR> 2008
05/15/2009 04:58 PM <DIR> 2009
12/23/2009 11:04 AM <DIR> 2010
05/14/2010 08:05 AM 6,859 Acks20100513200122.txt
05/14/2010 08:05 AM 19,486 Acks20100513210106.txt
05/14/2010 08:05 AM 13,753 Acks20100513220230.txt
05/15/2009 04:58 PM <DIR> Archive Test
05/15/2009 04:58 PM <DIR> iVOS
05/14/2010 08:05 AM <DIR> LastWeeksFiles
05/15/2009 04:58 PM <DIR> PROCESSES
05/15/2009 04:58 PM <DIR> save
05/15/2009 04:58 PM <DIR> State
05/15/2009 04:58 PM <DIR> Success
05/15/2009 04:58 PM <DIR> Test
3 File(s) 40,098 bytes
16 Dir(s) 51,192,061,952 bytes free
All I am really looking for is the files, date and size included. I want it to look cleaner. Is there any way to just append the files in the directory with the date stamp and file size??