Go Back   Scooter Forums > Beyond Compare 3 Discussion > Scripting
Register FAQ Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 08-Aug-2012, 02:33 AM
chinniah.u chinniah.u is offline
Visitor
 
Join Date: Mar 2012
Posts: 4
Default Is it possible to Compare the files partially?

hi,

i am using BC3 command line options. i need to know is there any way to get the file contents (both left and right) partially.

more details:
lets say, i have 50mb text file both sides. i have to compare that and render in web page. i don't want to compare full file and render it in the filereport page, instead , i want to compare partially , say first 200 lines, then based on the users request, compare next 200 lines.

Is there any option? Any work around is appreciated

Regards,
Chinniah
Reply With Quote
  #2  
Old 08-Aug-2012, 08:56 AM
Aaron Aaron is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 5,434
Default

Hello,

Sorry, you cannot compare the subsection from the command line. From the graphical interface you can select the first 200 lines, right click and "Copy", then select the second section, right-click and "Compare to Clipboard". Once this new compare/tab is launched, generate a Report.

If it needs to be from the command line, you would need to use a pre-processing script to create two temp files of the sections of text you want to compare, and then compare the temp files. This wouldn't be BC3 script, but a batch file, vbscript, or any other language you are familiar with.
__________________
Aaron P Scooter Software
Reply With Quote
Reply

Thread Tools
Display Modes

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 -6. The time now is 01:59 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.