Code: |
dir /TA dir /TC dir /TW |
Code: |
dir %windir%\system32 /a > blah.txt |
groovicus wrote: |
Because I didn't know how to do that.
What can I say... other than at some point in my life I should probably learn how to use batch files, and program in C, and how to conduct penetration testing, win the Nobel Peace Prize, and maybe whistle with my fingers... So much to learn, so little time. |
Code: |
dir %windir%\system32 /b > blah.txt |
Eliza wrote: |
Maybe I missed something here - what does the /a do?
I thought /a specified attributes to list only files with those, but needs a second parameter eg /ad for directories or /aa for archive bit set. |
Quote: |
how about learning how to do that thing where you blow across your cupped hands and it sounds like an owl? |
capi wrote: |
The parameter for /a is optional; using /a by itself you're telling dir to show files with all attributes, that is, to show hidden and system files along with the regular ones, for example. ... Regarding the /b option, the reason I did not include it was that groovicus said he wanted more than just the filenames - he wanted filename, size and date of last modification ... Oh I can do that! Holds his hands in a cup and blows accross, making owl-like sounds |
Code: |
lf -n "*" "C:\Windows\System32" > list.txt |
Code: |
lf "*" "C:\Windows\System32" |
Code: |
lf -r "*" "C:\Windows" |
Code: |
lf -r "*" "C:\Windows" ($fctime > "20090101") |
output generated using printer-friendly topic mod, All times are GMT + 2 Hours