Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
I need to compare all my files in all directories & subdir to a "Specified File" in binary to check whether they are similar, using FC /b. Is it possible?Else, i ECHOed all directories using ATTRIB /s to a .txt file and wishing to have a solution (batch file ) to replace the attributes and insert automatically: FC /b "mydirectory" "my specified file"
...then ill rename it as .bat file to execute all commands. Does anyone know how to replace and insert text in the beggining using DOS command?
THANKS in ADVANCE! =)
PSthis is the ECHOed ATTRIB /s in *.txt:
A Z:\01.exe
A S D:\02.txt
A SHR Z:\asdf\03.exe
A Z:\asdf.edThis is what i need: (ert.txt = my specified file)
FC /b "D:\01.exe" "C:\ert.txt"
FC /b "Z:\02.txt" "C:\ert.txt"
FC /b "Z:\asdf\03.exe" "C:\ert.txt"
FC /b "Z:\asdf.ed" "C:\ert.txt"--------XD-------ajukason----------

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |