Hello
I am using following files to generate a report
Text
for /f "tokens=1-4*" %A in ('dir /a-d /s /tw^ /tc^|findstr "^[0-9]"') do @echo %E %A %B %C %~tD %~tE >> avian.txt
I also want to get owner of the file using /q parameter, owner is name is coming but modified date is missing. I also want the directory path of each file.
Secondly is this possible get the output in delimited CSV (using pipe character) with header.
I know this can be easily achieved using PowerShell with Get-Childitem, but on our server PowerShell is restricted. File Server OS is WIn-2008
Please let me know how this can be done.
Regards
Avian