How to check all filenames on the folder ?

jk22

New member
Member
VIP
Local time
7:18 AM
Messages
115
Hey guys,

I have 2 harddrives with all of files in a folder and I want to check if all files copy to next other drive or not. So, I was thinking if there is any software that can export those file list in a text file or any file and if I can compare both text file with Notepad++ and check the file transfer completed successfully.

Regards.
 

My Computer My Computer

At a glance

Windows 10 Pro 64-bitIntel Core i7 5600U @ 2.60GHz Broadwell-U 14n...8.00GB Dual-Channel DDR3 @ 798MHz (11-11-11-28)Intel HD Graphics 5500
Computer type
Laptop
Computer Manufacturer/Model Number
Lenovo ThinkPad X1 Carbon
OS
Windows 10 Pro 64-bit
CPU
Intel Core i7 5600U @ 2.60GHz Broadwell-U 14nm Technology
Motherboard
LENOVO 20BTS0Y500 (U3E1)
Memory
8.00GB Dual-Channel DDR3 @ 798MHz (11-11-11-28)
Graphics Card(s)
Intel HD Graphics 5500
Sound Card
Speaker/HP (Realtek High Definition Audio)
Monitor(s) Displays
Generic PnP Monitor on Intel HD Graphics 5500
Screen Resolution
1920 x 1080 x 32 bits per pixel
Hard Drives
SAMSUNG MZHPV256HDGL-000L1 (256 GB SSD)
Keyboard
Standard PS/2 Keyboard
Mouse
Logitech G102 Prodigy Gaming Mouse
Internet Speed
10 Mbps
Antivirus
Comodo Firewall 11.0.0.6606
Browser
Google Chrome and Firefox
I'm not sure I understand what you want to do, but......

This command:

dir D:\Music /b /s > D:\textfile.txt

will produce a list of ALL files found in the D:\Music directory and all of it's subdirectories. The list will be named "textfile.txt" and would be found in the root of the D drive. You can make changes to that command to adapt it to your exact requirements.

A program such as WinMerge will compare 2 directory trees and tell you which files are found in one tree but not in the other---or which files are found in both directory trees. It's a free download that you should be able to find.

If I just wanted to produce a list of file names, I'd use the command. If I instead wanted to actually compare 2 directory trees to see if they matched after a copy attempt, I'd use WinMerge.
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1, 64-bitIntel Skylake i5-6600K, not overclocked8 GB HyperX DDR4-2666 (2 x 4 GB)none; graphics are integrated on CPU
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Ignatz Special; 4 speed manual gearbox; factory air conditioning; one of one
OS
Windows 7 Home Premium SP1, 64-bit
CPU
Intel Skylake i5-6600K, not overclocked
Motherboard
AsRock Z170M Extreme 4, micro ATX
Memory
8 GB HyperX DDR4-2666 (2 x 4 GB)
Graphics Card(s)
none; graphics are integrated on CPU
Sound Card
onboard: Realtek ALC1150; external: USB Behringer UF0-202
Monitor(s) Displays
Dell S2340M 23 inch IPS
Screen Resolution
1600 x 900
Hard Drives
System: Crucial MX100 series SSD, 128 GB;
Data: Samsung Spinpoint 103SJ, 1 TB;
Backup: WD Caviar Green WD30EZRX-00D8PB0, 3 TB
PSU
Rosewill SilentNight 500 watt fanless, semi-modular
Case
Antec Solo II
Cooling
Noctua NH-U12S; Noctua F12 intake, Noctua S12A exhaust
Keyboard
Microsoft 200 6JH-00001 USB
Mouse
Dell or Microsoft optical wired; USB
Antivirus
Microsoft Security Essentials and Malwarebytes Premium
Browser
Pale Moon
Other Info
All fans PWM; speeds at idle: CPU circa 500 rpm; intake circa 600 rpm; exhaust circa 600 rpm; CPU temps 27 idle and 47 C load in a warm room (27 C/81 F) when running Intel Extreme Tuning Utility stress test.
I'm not sure I understand what you want to do, but......

This command:

dir D:\Music /b /s > D:\textfile.txt

will produce a list of ALL files found in the D:\Music directory and all of it's subdirectories. The list will be named "textfile.txt" and would be found in the root of the D drive. You can make changes to that command to adapt it to your exact requirements.

A program such as WinMerge will compare 2 directory trees and tell you which files are found in one tree but not in the other---or which files are found in both directory trees. It's a free download that you should be able to find.

If I just wanted to produce a list of file names, I'd use the command. If I instead wanted to actually compare 2 directory trees to see if they matched after a copy attempt, I'd use WinMerge.

That command is working on some folders but not on all folders. Is there any other command ? :)
 

My Computer My Computer

At a glance

Windows 10 Pro 64-bitIntel Core i7 5600U @ 2.60GHz Broadwell-U 14n...8.00GB Dual-Channel DDR3 @ 798MHz (11-11-11-28)Intel HD Graphics 5500
Computer type
Laptop
Computer Manufacturer/Model Number
Lenovo ThinkPad X1 Carbon
OS
Windows 10 Pro 64-bit
CPU
Intel Core i7 5600U @ 2.60GHz Broadwell-U 14nm Technology
Motherboard
LENOVO 20BTS0Y500 (U3E1)
Memory
8.00GB Dual-Channel DDR3 @ 798MHz (11-11-11-28)
Graphics Card(s)
Intel HD Graphics 5500
Sound Card
Speaker/HP (Realtek High Definition Audio)
Monitor(s) Displays
Generic PnP Monitor on Intel HD Graphics 5500
Screen Resolution
1920 x 1080 x 32 bits per pixel
Hard Drives
SAMSUNG MZHPV256HDGL-000L1 (256 GB SSD)
Keyboard
Standard PS/2 Keyboard
Mouse
Logitech G102 Prodigy Gaming Mouse
Internet Speed
10 Mbps
Antivirus
Comodo Firewall 11.0.0.6606
Browser
Google Chrome and Firefox
That command is working on some folders but not on all folders. Is there any other command ? :)

It's never failed for me.

Did you copy the command properly, with the appropriate spaces?

What folders did it miss in your case? A folder containing Windows system files? A folder containing only personal data?

What is the top level directory on which you are using the command? C:\ ?? D:\ ?? C:\stuff ???

I just ran this command while sitting at c:\ on a command line

dir /b /s > d:\textfile.txt

Within 10 seconds, it produced a 16.5 mb file named "textfile.txt" in the root of the D drive.

But I have no immediate way of knowing if it skipped any files. It may have skipped certain system files--I can't say.

But I certainly would not expect it to skip any personal data files.

More info needed from you regarding WHAT folders were not listed when you used the command.
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1, 64-bitIntel Skylake i5-6600K, not overclocked8 GB HyperX DDR4-2666 (2 x 4 GB)none; graphics are integrated on CPU
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Ignatz Special; 4 speed manual gearbox; factory air conditioning; one of one
OS
Windows 7 Home Premium SP1, 64-bit
CPU
Intel Skylake i5-6600K, not overclocked
Motherboard
AsRock Z170M Extreme 4, micro ATX
Memory
8 GB HyperX DDR4-2666 (2 x 4 GB)
Graphics Card(s)
none; graphics are integrated on CPU
Sound Card
onboard: Realtek ALC1150; external: USB Behringer UF0-202
Monitor(s) Displays
Dell S2340M 23 inch IPS
Screen Resolution
1600 x 900
Hard Drives
System: Crucial MX100 series SSD, 128 GB;
Data: Samsung Spinpoint 103SJ, 1 TB;
Backup: WD Caviar Green WD30EZRX-00D8PB0, 3 TB
PSU
Rosewill SilentNight 500 watt fanless, semi-modular
Case
Antec Solo II
Cooling
Noctua NH-U12S; Noctua F12 intake, Noctua S12A exhaust
Keyboard
Microsoft 200 6JH-00001 USB
Mouse
Dell or Microsoft optical wired; USB
Antivirus
Microsoft Security Essentials and Malwarebytes Premium
Browser
Pale Moon
Other Info
All fans PWM; speeds at idle: CPU circa 500 rpm; intake circa 600 rpm; exhaust circa 600 rpm; CPU temps 27 idle and 47 C load in a warm room (27 C/81 F) when running Intel Extreme Tuning Utility stress test.
That command is working on some folders but not on all folders. Is there any other command ? :)

It's never failed for me.

Did you copy the command properly, with the appropriate spaces?

What folders did it miss in your case? A folder containing Windows system files? A folder containing only personal data?

What is the top level directory on which you are using the command? C:\ ?? D:\ ?? C:\stuff ???

I just ran this command while sitting at c:\ on a command line

dir /b /s > d:\textfile.txt

Within 10 seconds, it produced a 16.5 mb file named "textfile.txt" in the root of the D drive.

But I have no immediate way of knowing if it skipped any files. It may have skipped certain system files--I can't say.

But I certainly would not expect it to skip any personal data files.

More info needed from you regarding WHAT folders were not listed when you used the command.

Well it work on D Drive with a folder having notpad files. But it dont work on video songs folder which is located on D Drive aswell.

ss+(2015-12-28+at+12.31.05).png
 

My Computer My Computer

At a glance

Windows 10 Pro 64-bitIntel Core i7 5600U @ 2.60GHz Broadwell-U 14n...8.00GB Dual-Channel DDR3 @ 798MHz (11-11-11-28)Intel HD Graphics 5500
Computer type
Laptop
Computer Manufacturer/Model Number
Lenovo ThinkPad X1 Carbon
OS
Windows 10 Pro 64-bit
CPU
Intel Core i7 5600U @ 2.60GHz Broadwell-U 14nm Technology
Motherboard
LENOVO 20BTS0Y500 (U3E1)
Memory
8.00GB Dual-Channel DDR3 @ 798MHz (11-11-11-28)
Graphics Card(s)
Intel HD Graphics 5500
Sound Card
Speaker/HP (Realtek High Definition Audio)
Monitor(s) Displays
Generic PnP Monitor on Intel HD Graphics 5500
Screen Resolution
1920 x 1080 x 32 bits per pixel
Hard Drives
SAMSUNG MZHPV256HDGL-000L1 (256 GB SSD)
Keyboard
Standard PS/2 Keyboard
Mouse
Logitech G102 Prodigy Gaming Mouse
Internet Speed
10 Mbps
Antivirus
Comodo Firewall 11.0.0.6606
Browser
Google Chrome and Firefox
Well it work on D Drive with a folder having notpad files. But it dont work on video songs folder which is located on D Drive aswell.

View attachment 378689

The DIR command won't work as you typed it because it doesn't like the space between video and songs.

Try it again by putting video songs in quotes, like this "video songs". It should run.

Anytime you have a space in the path, like video songs, you need to put it in quotes, like "video songs".
 

My Computer My Computer

At a glance

Windows 7 Home Premium SP1, 64-bitIntel Skylake i5-6600K, not overclocked8 GB HyperX DDR4-2666 (2 x 4 GB)none; graphics are integrated on CPU
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Ignatz Special; 4 speed manual gearbox; factory air conditioning; one of one
OS
Windows 7 Home Premium SP1, 64-bit
CPU
Intel Skylake i5-6600K, not overclocked
Motherboard
AsRock Z170M Extreme 4, micro ATX
Memory
8 GB HyperX DDR4-2666 (2 x 4 GB)
Graphics Card(s)
none; graphics are integrated on CPU
Sound Card
onboard: Realtek ALC1150; external: USB Behringer UF0-202
Monitor(s) Displays
Dell S2340M 23 inch IPS
Screen Resolution
1600 x 900
Hard Drives
System: Crucial MX100 series SSD, 128 GB;
Data: Samsung Spinpoint 103SJ, 1 TB;
Backup: WD Caviar Green WD30EZRX-00D8PB0, 3 TB
PSU
Rosewill SilentNight 500 watt fanless, semi-modular
Case
Antec Solo II
Cooling
Noctua NH-U12S; Noctua F12 intake, Noctua S12A exhaust
Keyboard
Microsoft 200 6JH-00001 USB
Mouse
Dell or Microsoft optical wired; USB
Antivirus
Microsoft Security Essentials and Malwarebytes Premium
Browser
Pale Moon
Other Info
All fans PWM; speeds at idle: CPU circa 500 rpm; intake circa 600 rpm; exhaust circa 600 rpm; CPU temps 27 idle and 47 C load in a warm room (27 C/81 F) when running Intel Extreme Tuning Utility stress test.
Well it work on D Drive with a folder having notpad files. But it dont work on video songs folder which is located on D Drive aswell.

View attachment 378689

The DIR command won't work as you typed it because it doesn't like the space between video and songs.

Try it again by putting video songs in quotes, like this "video songs". It should run.

Anytime you have a space in the path, like video songs, you need to put it in quotes, like "video songs".



It worked. Thanks. :)
 

My Computer My Computer

At a glance

Windows 10 Pro 64-bitIntel Core i7 5600U @ 2.60GHz Broadwell-U 14n...8.00GB Dual-Channel DDR3 @ 798MHz (11-11-11-28)Intel HD Graphics 5500
Computer type
Laptop
Computer Manufacturer/Model Number
Lenovo ThinkPad X1 Carbon
OS
Windows 10 Pro 64-bit
CPU
Intel Core i7 5600U @ 2.60GHz Broadwell-U 14nm Technology
Motherboard
LENOVO 20BTS0Y500 (U3E1)
Memory
8.00GB Dual-Channel DDR3 @ 798MHz (11-11-11-28)
Graphics Card(s)
Intel HD Graphics 5500
Sound Card
Speaker/HP (Realtek High Definition Audio)
Monitor(s) Displays
Generic PnP Monitor on Intel HD Graphics 5500
Screen Resolution
1920 x 1080 x 32 bits per pixel
Hard Drives
SAMSUNG MZHPV256HDGL-000L1 (256 GB SSD)
Keyboard
Standard PS/2 Keyboard
Mouse
Logitech G102 Prodigy Gaming Mouse
Internet Speed
10 Mbps
Antivirus
Comodo Firewall 11.0.0.6606
Browser
Google Chrome and Firefox
Back
Top