我正在使用Beyond Compare程序通过shell命令创建一个比较两个文件的程序。但是我只能打开一个文件。我希望两个文件一起执行。
这是我使用的代码:
Dim Path As String
Dim File1 As String
Dim File2 As String
'[Codes for Other Conditions]
'...
If Test <> "" Then
'Test Variable will trigger opening beyond compare and compares
'File1 (on right side) and File2 (Left Side)
Path = Shell("C:\Temp\" + " " + File1 + " " + File2, vbNormalFocus)
end If
提前谢谢!