Folder Diff from command line
Moderator: SourceGear
Folder Diff from command line
Hello,
Is folder diff options are available only for registered customers?
I am trying to diff folders using command line
sgdm -d=D:\Result.txt "D:\Temp\Folder1" "D:\Temp\Folder2" , it returns the Exit status is 0 even though there are diff files in each folder.
Thanks in advance!
Is folder diff options are available only for registered customers?
I am trying to diff folders using command line
sgdm -d=D:\Result.txt "D:\Temp\Folder1" "D:\Temp\Folder2" , it returns the Exit status is 0 even though there are diff files in each folder.
Thanks in advance!
Re: Folder Diff from command line
The DiffMerge tool is fully functional even if not registered. I tested with a couple folders here as well just to make sure it's working properly.
What happens if you diff two other folders?
Try changing directories to D:\temp, and put the result file there as well, and then use the full path to sgdm. It would look like:
"C:\Program Files\SourceGear\Common\DiffMerge\sgdm.exe" -d=Result.txt Folder1 Folder2
Does that work?
What happens if you diff two other folders?
Try changing directories to D:\temp, and put the result file there as well, and then use the full path to sgdm. It would look like:
"C:\Program Files\SourceGear\Common\DiffMerge\sgdm.exe" -d=Result.txt Folder1 Folder2
Does that work?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Folder Diff from command line
Thanks Beth, Does the folder search supports any file format ? Does it have the ability to identify dlls too ?
Re: Folder Diff from command line
I think it should work for any file format on the Folder Diff. It won't for the file diff, because the file diff can't deal with binary files, but at the folder level it should be fine.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Folder Diff from command line
Thanks Beth for the prompt reply.
Let us sat Folder A : D:\Temp1\Test1\Helloworld.dll
Folder B : D\Temp1\Test1\hollaworld.dll
diff is not outputting the dll , It was able handle .txt files
File only in left:
Let us sat Folder A : D:\Temp1\Test1\Helloworld.dll
Folder B : D\Temp1\Test1\hollaworld.dll
diff is not outputting the dll , It was able handle .txt files
File only in left:
Doesn't give the Helloworld.dll
Re: Folder Diff from command line
Then it's probably in the filter list for folders. Go to Tools - Options - Folder Windows - Folder Filters. You can remove the DLL from the file suffix filters.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Folder Diff from command line
Thanks for the reply, can I achieve that from Command line?
Re: Folder Diff from command line
I don't think so. I think you'll need to run the program to change the settings, and then the settings will be saved for future Diffs.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Folder Diff from command line
okay, thanks Beth !