Supressing File

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
floh
New Member
Posts: 1
Joined: Thu Aug 18, 2011 1:17 am

Supressing File

Post by floh »

Dear all,

My Situation: I'm working on a batch-file that should help me to compare configuration files that I have in different folders. Since there's a lot of those files, I want to automate the task.

My Problem: When comparing certain files, I get dialog-boxes labelled "Comparison Result" with a warning "Warning: no new line at end of file …". I want to suppress all of those warnings, as they require user interaction, and I don't want that.

Tested Solutions: I tried setting the options I though appropriate in the options-file, but this didn't seem to help. I have included the file at the end of the post.

My question: How do I suppress those warnings by default? Are there any options or command-line parameters I can set?

Thank you,
Florian

My Options.txt that I pass to ExamDiff.com via the /g-Option. (Yes, I know it's horribly out of date …;-))

Code: Select all

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ExamDiff Pro
; Version 3.1
; File Version 3.1.0.0
; Build 22.06.2003 01:16:24
; Windows Version: Service Pack 2 (Build 3790)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Compare]
Ignore all white space=0
Ignore changes in white space=0
Ignore leading white space=0
Ignore trailing white space=0
Ignore case=0
Ignore blank lines=0
Ignore matching lines=0
Treat binary as text=1
Detail level=0
Regular expression=;.*
First chars to ignore=0
Last chars to ignore=0
Expand tabs=1
Ignore line parts=0
Regular expression 2=
[Display]
Show line numbers=1
Show dir listview tooltips=1
Use Explorer icons=1
Sync Vertically=1
Sync Horizontally=1
Sync Vertically Dir=1
Sync Horizontally Dir=0
Scroll Cur Diff=0
Show Color Bars=1
Use foreground colors=1
Tab size=4
Color bar width=6
File Screen Font Face Name=Courier
File Screen Font Height=-13
File Screen Font Italic=0
File Screen Font Weight=400
File Screen Font Pitch=49
File Screen Charset=0
File Printer Font Face Name=Courier New
File Printer Font Height=-13
File Printer Font Italic=0
File Printer Font Weight=400
File Printer Font Pitch=49
File Printer Charset=0
Directory Screen Font Face Name=MS Sans Serif
Directory Screen Font Height=-11
Directory Screen Font Italic=0
Directory Screen Font Weight=400
Directory Screen Font Pitch=34
Directory Screen Charset=0
Directory Printer Font Face Name=MS Sans Serif
Directory Printer Font Height=-11
Directory Printer Font Italic=0
Directory Printer Font Weight=400
Directory Printer Font Pitch=34
Directory Printer Charset=0
Added Color=(128, 0, 0)
Deleted Color=(0, 0, 255)
Changed Color=(0, 0, 0)
Changed Color 2=(255, 15, 135)
Inserted Color=(0, 0, 0)
Ignored Color=(255, 255, 0)
Newer Color=(128, 0, 128)
Older Color=(255, 0, 0)
Back Added Color=(192, 192, 192)
Back Deleted Color=(224, 224, 224)
Back Changed Color=(242, 242, 198)
Back Changed Color 2=(224, 224, 224)
Back Inserted Color=(192, 192, 192)
Back Ignored Color=(192, 192, 192)
Back Newer Color=(166, 202, 240)
Back Older Color=(192, 220, 192)
Back Added Hatch=-1
Back Deleted Hatch=-1
Back Changed Hatch=-1
Back Changed Hatch 2=-1
Back Inserted Hatch=-1
Back Ignored Hatch=-1
Back Newer Hatch=-1
Back Older Hatch=-1
[Misc]
Editor=notepad.exe
Arguments=$FILE
Recent Files=20
Recent Strings=20
Enable Change Notifications=1
Compare Dialog On Top=0
Minimize For New Pair=0
ESC to exit=0
Use View Filter To Save Diff=0
Custom separators=0
Word separators=\/!.,;:
Scroll after new compare=0
Scroll after re-compare=0
Reuse window pos=0
Print selection by default=0
Show newline warning=0
Show edit undo warning=0
Show diff combo message=0
Show identical names message=0
Show identical text files message=0
Show identical bin files message=0
Show identical directories message=0
Show different text files message=0
Show different bin files message=0
Show different directories message=0
Show options changed directories message=0
Show comparison too slow message=0
[Directory comparison]
Include filter=...
Exclude filter=...
New instance=1
New instance dirs=1
Initial sort=2
Initial sort column=Path
Initial sort direction=1
Same if same time and size=0
Diff if diff size=0
Diff if diff attr=0
Diff if diff time=0
Time diff to ignore=2
Timezone diff=0
No dir sizes=1
Handling of sub-dirs=2
Batch printing=1
No diff number=1
Show empty dirs=0
[Word wrap]
Enable wrap=0
Simple word wrap=0
Wrap width=60
[File editing]
Enable edit=1
Save before recompare=0
Allow edit readonly=0
Create backups=1
Convert tabs to spaces=0
Advance to next file diff=0
[View Filter]
File view same=0
File view added=1
File view deleted=1
File view changed=1
Dir view same=0
Dir view added=1
Dir view deleted=1
Dir view changed=1
Dir view newer=1
Use view name filter=0
Context lines=0
Include names=*
Exclude names=
[Dir columns]
Show name=1
Show rel path=1
Show size=1
Show type=1
Show time=1
Show status=1
Show attributes=1
Show diff number=1
Name order=0
Rel path order=1
Size order=2
Type order=3
Time order=4
Status order=5
Attributes order=6
Diff number order=7
Show rel path option=0
Resize sync=0
[Binary]
Bytes per line=16
Fit to window=0
Byte format=0
Byte case=0
Editor=
Arguments=$FILE
Block size=1
[HTML]
Vert HTML Template=C:\Program Files (x86)\ExamDiff Pro\difftempl_v.htm
Horz HTML Template=C:\Program Files (x86)\ExamDiff Pro\difftempl_v.htm
Last edited by floh on Tue Aug 23, 2011 2:29 am, edited 1 time in total.
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Supressing File

Post by psguru »

If you uncheck the option under Options | Misc | Message, running EDPro from the command line will use the last saved GUI options, thus not showing the warning.
psguru
PrestoSoft
Post Reply