I'm using Windows 7 as the operating system. I would like to use a standard batch script for the solution if possible, not powershell or vbs.
I'm not sure what switch to use to only get a readout of the files with the "dir" command in the directory including the size & date.
the /B following the dir command lists how I want it to look but there is no size & date following the file names. Please see the 2 examples below.
I have tried several combination of switches and I'm having problems. Can you help
Volume in drive C has no label.
Volume Serial Number is WXYZ-7F9B
Directory of C:\Users\testuser\Desktop\testjunk
05/16/2014 09:08 AM <DIR> .
05/16/2014 09:08 AM <DIR> ..
05/16/2014 09:06 AM 4,848 inst1.txt
05/16/2014 09:07 AM 1,212 inst2.txt
05/16/2014 09:07 AM 25,494 inst3.txt
3 File(s) 31,734 bytes
2 Dir(s) 8,256,966,656 bytes free