Skip to main content

All Questions

Tagged with
0 votes
2 answers
213 views

Windows7 command prompt show number of objects as list from dir command

I'm using Windows7, and I want to know the number of files (or objects) for comparison to objects in Amazon S3 buckets. I'm not interested in size, as the size can differ between file types. I want ...
Jordan's user avatar
  • 1
1 vote
1 answer
216 views

DIR command reporting incorrect files

Behold below command and actual feedback. C:\Temp\AEAPI> dir apb*.* Volume in drive C is XXXXXXXX Volume Serial Number is XXXX-XXXX Directory of C:\Temp\AEAPI 01/08/2009 07:24 9....
tee's user avatar
  • 21
1 vote
0 answers
1k views

How to get files ordered by name with `dir`?

This used to be really easy in the old OS's. dir /o:n >> list.txt for %a in (`list.txt`) do copy %a ..\ordered And voila, there was the list of files in the other folder, created in the sorted ...
Alex's user avatar
  • 198
27 votes
1 answer
4k views

Non-hidden directory doesn't show in Explorer, but the program that made it can access it

I'm using IMAPSize to backup my mailboxes. The process just dumps the contents of your mailbox into .eml files on your disk. Anyway, the first mailbox I backed up shows up as I expect. However, the ...
Xophmeister's user avatar
0 votes
1 answer
85 views

Windows DIR command searches folders it shouldn't

I'm trying to create a batch file that searches certain folders on our server for JPGs and creates a txt file with them. It works fine BUT for some reason it always adds a folder to the end of the ...
NVNM's user avatar
  • 1
1 vote
0 answers
342 views

Different date stamps Explorer vs. from command line - Win7

I'm trying to create a simple batch file to match up 2 directories of files to resolve some issues between the 2 sets. This would be very easy to do if I could match them between directories based ...
Gene T's user avatar
  • 11
6 votes
2 answers
2k views

How to make AppData directory appear in File Explorer?

This post outlines how to make the AppData directory show up at the DOS prompt, but how do I make it show up in File Explorer (on Windows 7 Home Premium 64-bit)? Is there a global setting? Also, what ...
Jordan Jamingsons's user avatar
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 ...
Kurisuchin's user avatar
61 votes
9 answers
135k views

How to view all the Symbolic links, junction points, hard links in a Folder using dir?

The command dir /a displays a list of all the files and folders in a given location. But it displays the type <JUNCTION> for Junction Points as well as Symbolic Links to Folders. Is there any ...
Dhiwakar Ravikumar's user avatar
0 votes
0 answers
678 views

How can I list all files recursively that have the compressed attribute set?

I started a decompress operation using compact /U /S /I /Q > compact-report.txt on a large dir (120GB+, ~950M+ files) and it has been going on for about 24 hours now. Most files seem decompressed, ...
Abel's user avatar
  • 1,483
3 votes
1 answer
10k views

CMD Using DIR to order directories by name

I'm using the following command to list files including those in sub-directories ordered by name. dir /b/s/on The files are correctly ordered within their given directories but the directories are ...
Paul Fleming's user avatar
1 vote
1 answer
690 views

List files in CMD with DIR

I'm trying to use DIR to list all files in the current directory and sub directories ordered alphabetically. I only care about the filepath and name. I don't want the size, counts, etc. Here's what I ...
Paul Fleming's user avatar
2 votes
1 answer
196 views

Why does "dir *.*~" list files in a way different to what is expected?

In my directory I have the files files x.dll x.lib x.pdb x.exp x.plugin When I issue the command dir \*.*~ it should say 'File not found' as it does at my friend's laptop. But on my machine it ...
rezna's user avatar
  • 201
29 votes
4 answers
84k views

Excluding files of particular extension using DIR command on windows command line

if i want to see e.g. files of a particular extension only using dir listing, i can do that using the command: DIR *.txt And it shows all files with .txt extension. Now i want to know is there any ...
Johnydep's user avatar
  • 1,095
21 votes
3 answers
120k views

List only files of a particular extension with the DIR command

On Windows, we can see directory content using the DIR command. I want to know, how can one see the list of only those files which have particular extension, e.g I want to see list of all .txt ...
Johnydep's user avatar
  • 1,095

15 30 50 per page