-
Member
Bat file
Can somebody please right down all the comands step by step to write a batch file that compares two files. Say I copy a cd, I want to run a batch file that compares the original cd to the copied cd to insure all the same files are on both cd.
I looked this up in a one of my dos books awhile back ( they used floppies) and it was a pretty simple deal, but I don't remember how to do it now. :O
I need all steps (I fogot how to tell the computer you were writing a batch file and when you were finished):O It's been awhile.
God Bless
-
Member
The command in question is fc (type fc /? at the dos prompt) but i cant remember how to recurse a directory tree in dos. Can't even remember if it was possible (maybe it was)
Seems to me tho that .bat is a rather primitive way to do this. If you're determined to do this yourself then a hybrid approach, using vb/a to recurse the tree & fc to compare, piped perhaps to a txt that vb/a then displays, could work.
otoh, there are plenty of tools out there that could do the job a lot easier. Plenty of them freeware as well, just search google shareware or cnet shareware: "file folder comparison tool"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
New Security Features Planned for Firefox 4
Another Laptop Theft Exposes 21K Patients' Data
Oracle Hits to Road to Pitch Data Center Plans
Microsoft Preps Array of Windows Patches
Microsoft Nears IE9 Beta With Final Preview
Simplified Analytics Improve CRM, BI Tools
Android Passes RIM as Top Mobile OS in 2Q
VMware Updates Hyperic System Management
File Monitoring Key to Enterprise Security
LinkedIn Snaps Up SaaS Player mSpoke
|
Bookmarks