"Royce" <(E-Mail Removed)> a écrit dans le message de news:
BB1A95B5-1662-4634-86D5-(E-Mail Removed)...
> the last command only does directories. this does directories,
> subdirectories, and files:
>
> for /f "tokens=*" %%i in ('dir /a /s /b') do cacls "%%~dpnxi"
This one is what I'm looking for. But the output of cacls is awful as it
can't be directly processed into Excel, for instance. It can't even be
treated like a space-separated list of values because spaces can occur in
file or folder names. Neither is there a common delimiter/position to each
"column".
Ok, it's more than nothing but I'd have expected an output format that is
easier to process. I think I'll have to write a custom script to transcode
to CSV.
Vince C.