All Questions
Tagged with dir directory-listing
6
questions
1
vote
2
answers
500
views
Powershell equivalent of "dir /a"?
Running dir /a on a given directory on one of our servers produces a list of unexpected files that look like malware:
C:\Users\<username>dir /a c:\Users\Public\Downloads\
Volume in drive C has ...
0
votes
2
answers
3k
views
List each subdirectory and the number of files within it using cmd.exe
I have several subdirectories that contain files, and I want to list each subdirectory and beside it the number of files (*.html specifically) within that subdirectory. For example, I am in "C:\...
62
votes
5
answers
11k
views
Why does `dir *.*` give me all files and folders?
When I run dir *.* it produces unexpected results. Even files and folders without any dot in their names are listed. For example
C:\>dir *.*
Volume in drive C is System
Volume Serial Number is ...
1
vote
2
answers
14k
views
Directory Listing includes Date Modified, File Size into text file/excel file
I want to list an entire drive's (Z:) directories, subdirectories, and files in a single text file with all the dates and the file sizes. I can then open the file inside Excel.
I am currently using ...
0
votes
1
answer
390
views
DIR list files with only one extension
The code below will list all files from the selected directory. How to make it list only files with one extension, like pdf?
[HKEY_CLASSES_ROOT\Directory\Shell\4_content-list-pdf\command]
@="cmd /c ...
0
votes
1
answer
4k
views
Is there a Window's Command Line Option to Show the Sizes of Directories
When I do a dir command it, gives this information:
02/11/2015 01:39 PM <DIR> bar
11/11/2014 07:22 AM <DIR> buz
02/12/2015 01:35 PM 140,660,736 foo.sdf
01/...