使用FC Windows批处理文件多个输入 [英] Multiple inputs in a windows batch file using FC

查看:311
本文介绍了使用FC Windows批处理文件多个输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能使用Windows发送到.bat文件使用FC命令行工具两个文本文件之间运行差。

I am hoping to use a windows "send-to" .bat file to run a differential between two text files using the FC command line tool.

我的当前批次为: FC%1%2暂停

所有FC命令行需要的是 FC文件1文件2

All FC requires from the command line is FC file1 file2

我要选择两个文本文件,并通过批处理文件通过发送至运行它们。

I want to select two text files and run them through the batch file via send-to.

推荐答案

如果两个文件都在同一个文件夹:

If both files are in the same folder:

@fc "%~1" "%~2" & pause

这篇关于使用FC Windows批处理文件多个输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆