Beyond Compare 2 Command Line Parameters You can run Beyond Compare with command line parameters to speed access to your favorite folders or files. You can specify: a session name a pair of folder names a pair of files, or a script file. If you specify an existing session name, that session will be loaded when Beyond Compare starts. For example: BC2.EXE "My Application <-> Floppy" You can specify two folders on the command line: BC2.EXE C:\ALPHA C:\BETA Note: If you specify folders on the command line, the default session settings will be used. You can also specify two files on the command line and Beyond Compare will compare them in the File Viewer, skipping the Folder Viewer window altogether. BC2.EXE APPLES.TXT ORANGES.TXT To automate folder synchronization and other tasks, you can reference a script file on the command line: BC2.EXE @SCRIPT.TXT You can further control Beyond Compare by using command line switches. Command Line Switches Switch - Meaning /out=<format> - Produces a file or folder differences report. Format is the same as 1.9's, and samples can be found at the bottom of the difference report dialogs. /fileviewer, /fv - Start in file viewer mode. /fileviewer=XXX, /fv=XXX - Start with viewer plug-in XXX (eg. "Hex Viewer"). /title#=XXX - Set title for file # (1 or 2) to XXX (file viewer mode). The title replaces the path edit's text when not editing it. /filters=XXX - Make initial filename filters XXX. /readonly, /leftreadonly, /rightreadonly - Disabled all operations which affect a particular side or both sides (file or folder mode). |