Author Topic: How to Run Diffzilla from Command Line  (Read 6053 times)

geweiss

  • Junior Community Member
  • Posts: 2
  • Hero Points: 0
How to Run Diffzilla from Command Line
« on: October 03, 2006, 11:50:46 pm »
How do you run Diffzilla from the Command Line?

I want to call it from another application.
I would think it should be something like
vs -#diff FILE1.TXT FILE2.TXT
but this does not work.

hs2

  • Senior Community Member
  • Posts: 2725
  • Hero Points: 280
Re: How to Run Diffzilla from Command Line
« Reply #1 on: October 04, 2006, 06:03:59 am »
Use vsdiff.exe instead:

e.g. simple file comparison:
vsdiff(.exe) <file1> <file2>
or customized folder comparison:
vsdiff(.exe) -t -filespec "*" -excludefilespec "*.exe *.zip *.doc *.o *.obj *.lib *.dll *.d *.dd" <path1> <path2>

HS2

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1794
  • Hero Points: 70
Re: How to Run Diffzilla from Command Line
« Reply #2 on: October 04, 2006, 12:32:14 pm »
As "the diff guy" I feel compelled to jump in here, but he summed it up really well ;).

geweiss

  • Junior Community Member
  • Posts: 2
  • Hero Points: 0
Re: How to Run Diffzilla from Command Line
« Reply #3 on: October 04, 2006, 01:12:22 pm »
That did the trick.
Now I am Diffing from another application.
Thanks a bunch.

SoftJunkie

  • Community Member
  • Posts: 32
  • Hero Points: 1
Re: How to Run Diffzilla from Command Line
« Reply #4 on: May 12, 2007, 02:30:13 am »
are there any other command-line options available for vsdiff? is it documented somewhere?

hs2

  • Senior Community Member
  • Posts: 2725
  • Hero Points: 280
Re: How to Run Diffzilla from Command Line
« Reply #5 on: May 12, 2007, 06:51:08 am »
Launch vsdiff -? (or /?) in a shell :)

HS2

SoftJunkie

  • Community Member
  • Posts: 32
  • Hero Points: 1
Re: How to Run Diffzilla from Command Line
« Reply #6 on: May 12, 2007, 04:00:51 pm »
hs2,

please send me the output that you get when using vsdiff /?. all i get is a blank screen and the sound of a bell,

hs2

  • Senior Community Member
  • Posts: 2725
  • Hero Points: 280
Re: How to Run Diffzilla from Command Line
« Reply #7 on: May 13, 2007, 07:07:39 am »
Here we go...

HS2

SoftJunkie

  • Community Member
  • Posts: 32
  • Hero Points: 1
Re: How to Run Diffzilla from Command Line
« Reply #8 on: May 13, 2007, 04:19:05 pm »
thank you. i'm not sure why that didn't work for me.

the last section might be what i'm looking for. they mention a 'configpath'. what do you think that is?

hs2

  • Senior Community Member
  • Posts: 2725
  • Hero Points: 280
Re: How to Run Diffzilla from Command Line
« Reply #9 on: May 14, 2007, 08:36:53 am »
It's the standard SE <path-to-config>\config dir because Diffzilla is just a 'component' of SE and uses the same configuration (e.g. colors, keybindings) files.
As you might know you can also start SE (vs.exe) using the -sc option to override the default config path.
The default config path is taken from an already set (by you) VSLICKCONFIG environment variable or it's derived from the OS dependent HOME dir e.g '/home/user/...' or 'C:\Documents and Setttings\user\...' (see 'Help -> command line options').

HS2