Go Back   nV News Forums > Software Forums > General Software

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-26-11, 07:50 PM   #1
six_storm
Registered User
 
six_storm's Avatar
 
Join Date: Jun 2004
Location: Nashvegas
Posts: 11,575
Send a message via Skype™ to six_storm
Default File Comparison Software

Hey guys. I'm trying to compare the filenames on two different drives, but cannot find any scripts or programs that will just give me what files that are on drive 1 but not on drive 2.

Any hints?
six_storm is offline   Reply With Quote
Old 01-26-11, 10:08 PM   #2
six_storm
Registered User
 
six_storm's Avatar
 
Join Date: Jun 2004
Location: Nashvegas
Posts: 11,575
Send a message via Skype™ to six_storm
Default Re: File Comparison Software

I finally found a batch script that works and it's running, seems to be doing it's job so far.

I've not had any good luck with my PC stuff this week. Not a happy camper right now.
six_storm is offline   Reply With Quote
Old 01-27-11, 01:30 AM   #3
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: File Comparison Software

Quote:
Originally Posted by DarthBeavis View Post
how about a little VB app?
That requires some recursion, which, if a person hasn't programmed before, may leave them scratching their head.
ViN86 is offline   Reply With Quote
Old 01-27-11, 07:04 AM   #4
six_storm
Registered User
 
six_storm's Avatar
 
Join Date: Jun 2004
Location: Nashvegas
Posts: 11,575
Send a message via Skype™ to six_storm
Default Re: File Comparison Software

Quote:
Originally Posted by ViN86 View Post
That requires some recursion, which, if a person hasn't programmed before, may leave them scratching their head.
Agreed, I haven't done VB in 6+ years so I don't remember anything lol.

I haven't checked my script this morning but it appeared to be working properly last night. Thanks guys.
six_storm is offline   Reply With Quote
Old 01-27-11, 08:29 AM   #5
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: File Comparison Software

I know you found something already, but here's something to find directories, then a nested for loop to check for the file, and a quick dump to a text file and you're done. Maybe for the future. It may be a lot faster than a batch file.

http://dotnetperls.com/recursively-find-files
ViN86 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:14 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.