Giter Site home page Giter Site logo

Comments (6)

cxasm avatar cxasm commented on September 26, 2024

是可以的,配合svn对比也行。
"C:\Program Files\CCompare\CCompare.exe" -left "%1"
"C:\Program Files\CCompare\CCompare.exe" -right "%1"

或者直接两个文件路径
"C:\Program Files\CCompare\CCompare.exe" "%1" “%2”

注意目前都是全路径,可能不支持相对路径。

from cc-compare.

chendijun527 avatar chendijun527 commented on September 26, 2024

是可以的,配合svn对比也行。 "C:\Program Files\CCompare\CCompare.exe" -left "%1" "C:\Program Files\CCompare\CCompare.exe" -right "%1"

或者直接两个文件路径 "C:\Program Files\CCompare\CCompare.exe" "%1" “%2”

注意目前都是全路径,可能不支持相对路径。

2个文件夹对比要加上什么参数呢?我用文件的方式会变成bin二进制对比
后续版本能不能智能判断下参数是文件还是目录,然后比对

from cc-compare.

cxasm avatar cxasm commented on September 26, 2024

目录的对比命令如下:
"C:\Program Files\CCompare\CCompare.exe" -leftd "%1"
"C:\Program Files\CCompare\CCompare.exe" -rightd "%1"

需要调用两次,先调用左边目录,再调用右边目录。但是这样可能会新启动一个进程。

from cc-compare.

StrollStars avatar StrollStars commented on September 26, 2024

@cxasm 不好意思,测试没成功,可否像文件参数那样连写,然后程序自行判断是文件还是目录?

PS1:github比gitee慢一个版本,也缺少免安装版本。
PS2:希望程序文件能放在可执行文件所在目录。

from cc-compare.

cxasm avatar cxasm commented on September 26, 2024

https://github.com/cxasm/cc-compare/releases/download/v1.16/CCompare-v1.18-x64-Installer.exe

发布了1.18.新增了文件夹对比命令行:

1.18 的文件夹命令行是 -d "dir1path" "dir2path"

from cc-compare.

StrollStars avatar StrollStars commented on September 26, 2024

@cxasm 完全符合需求,感谢开发者。

from cc-compare.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.