|
|
Back to UserFriendly Strip Comments Index
|
Windows explorer question | by Egaeus | 2005-02-08 05:47:31 |
| Brute force solution... |
by jdelphiki |
2005-02-08 06:53:51 |
Open a DOS prompt and use the "dir" command to create a list of all files, one list for the CD and one list for the other directory structure. The list will be created by redirecting the output of your "dir" commands to output files.
Options for the "dir" command can be found by typing "dir /?" and you'll need to use a few to make the lists come out properly. (If you can't get the help options, let me know and I'll paste them out here).
Do you need to compare only files, or are you checking folders as well? Assuming you're only interested in the files, the command should be something like:
dir/s /os /a-d > outputfilename.txt
where:
"/s" searches through all subdirectories
"/os" sorts the output by file size ("/o-s" reverses sort order)
"/a-d" specifies to select only files and not directories
the " > outputfilename.txt" redirects the output from the command into a text file named: "outputfilename.txt"
Execute this command from the root folder for both the CD and the other directory structure, using a different filename for each one. For the CD, you'll have to specify the path that you want the "outputfilename.txt" to be written to since you can't, of course, write to the CD.
Now that you have two lists, you can use your compare utility to compare the two lists, but it will still complain about the file names being different, as well as the other directory information junk it puts in there.
If you actually don't need to look at the file sizes, you can add the "/b" option to your "dir" command (dir/s /os /a-d /b > outputfilename.txt) to show only the file names. The sort options will still work, but you won't see any of the other extraneous folder junk.
This is a bit of an ugly solution, but it might help you out.
Good luck!
Bean |
|
[ Reply ] |
|
|
[Todays Cartoon Discussion]
[News Index]
|
|