“Reawakening" of an old issue with the "copy" command that I'm not sure I've ever reported in the past...
I believe I've run into this issue in the past, but I’m also pretty sure that I did not bother to report it at the time. And I ran into it yet again in "researching" the "@Index" issue (previously posted), so this time I am “correcting” that deficiency. So there is no absolute no possibility whatsoever of any confusion, I will illustrate the exact steps to the exact problem in excruciating detail.
So, in Take Command/TCC I executed the following commands:
So I then wrote a batch file with the following contents:
And here are the results of running that batch file:
Notice that, put simply, every file in the sequence is different from every other file!
So I opened a "cmd.exe" session, and executed the following commands:
And ran the now ".bat" file:
with these results:
As is obvious, and unlike in TCC, all of the files have exactly the same contents, which is as one would expect!
I don't know that there is much I can add here except to say the last (and possibly only) time I had this problem I'm pretty sure I was also copying ".msi" files...
I believe I've run into this issue in the past, but I’m also pretty sure that I did not bother to report it at the time. And I ran into it yet again in "researching" the "@Index" issue (previously posted), so this time I am “correcting” that deficiency. So there is no absolute no possibility whatsoever of any confusion, I will illustrate the exact steps to the exact problem in excruciating detail.
So, in Take Command/TCC I executed the following commands:
Code:
CDD “D:\Downloads\Firefox Downloads”
MD “Z:\Dataram_RAMDisk_v3.5.107” /D
Copy D:Dataram_RAMDisk_V3.5.130R18.msi .
FC /B D:Dataram_RAMDisk_V3.5.130R18.msi Dataram_RAMDisk_V3.5.130R18.msi
(files were different)
Copy D:Dataram_RAMDisk_V3.5.130R18.msi Dataram_RAMDisk_V3.5.130R18II.msi
FC /B D:Dataram_RAMDisk_V3.5.130R18.msi Dataram_RAMDisk_V3.5.130R18II.msi
(files were again different)
FC /B Dataram_RAMDisk_V3.5.130R18.msi Dataram_RAMDisk_V3.5.130R18II.msi
(files were different yet again)
D:
Copy Dataram_RAMDisk_V3.5.130R18.msi Dataram_RAMDisk_V3.5.130R18II.msi
FC /B Dataram_RAMDisk_V3.5.130R18.msi Dataram_RAMDisk_V3.5.130R18II.msi
(files were yet [B]again[/B] different)
Code:
@Echo fc /b "Z:Dataram_RAMDisk_V3.5.130R18.msi" "Z:Dataram_RAMDisk_V3.5.130R18II.msi" >Z:RAMDiskDiffs.txt
fc /b "Z:Dataram_RAMDisk_V3.5.130R18.msi" "Z:Dataram_RAMDisk_V3.5.130R18II.msi" >>Z:RAMDiskDiffs.txt
@Echo fc /b "Z:Dataram_RAMDisk_V3.5.130R18.msi" "D:Dataram_RAMDisk_V3.5.130R18.msi" >>Z:RAMDiskDiffs.txt
fc /b "Z:Dataram_RAMDisk_V3.5.130R18.msi" "D:Dataram_RAMDisk_V3.5.130R18.msi" >>Z:RAMDiskDiffs.txt
@Echo fc /b "Z:Dataram_RAMDisk_V3.5.130R18.msi" "D:Dataram_RAMDisk_V3.5.130R18II.msi" >>Z:RAMDiskDiffs.txt
fc /b "Z:Dataram_RAMDisk_V3.5.130R18.msi" "D:Dataram_RAMDisk_V3.5.130R18II.msi" >>Z:RAMDiskDiffs.txt
@Echo fc /b "Z:Dataram_RAMDisk_V3.5.130R18II.msi" "D:Dataram_RAMDisk_V3.5.130R18.msi" >>Z:RAMDiskDiffs.txt
fc /b "Z:Dataram_RAMDisk_V3.5.130R18II.msi" "D:Dataram_RAMDisk_V3.5.130R18.msi" >>Z:RAMDiskDiffs.txt
@Echo fc /b "Z:Dataram_RAMDisk_V3.5.130R18II.msi" "D:Dataram_RAMDisk_V3.5.130R18II.msi" >>Z:RAMDiskDiffs.txt
fc /b "Z:Dataram_RAMDisk_V3.5.130R18II.msi" "D:Dataram_RAMDisk_V3.5.130R18II.msi" >>Z:RAMDiskDiffs.txt
@Echo fc /b "D:Dataram_RAMDisk_V3.5.130R18.msi" "D:Dataram_RAMDisk_V3.5.130R18II.msi" >>Z:RAMDiskDiffs.txt
fc /b "D:Dataram_RAMDisk_V3.5.130R18.msi" "D:Dataram_RAMDisk_V3.5.130R18II.msi" >>Z:RAMDiskDiffs.txt
Code:
fc /b "Z:Dataram_RAMDisk_V3.5.130R18.msi" "Z:Dataram_RAMDisk_V3.5.130R18II.msi"
Comparing files Z:Dataram_RAMDisk_V3.5.130R18.msi and Z:DATARAM_RAMDISK_V3.5.130R18II.MSI
0000046D: 02 5C
0000046E: 65 A9
0000046F: CF D6
fc /b "Z:Dataram_RAMDisk_V3.5.130R18.msi" "D:Dataram_RAMDisk_V3.5.130R18.msi"
Comparing files Z:Dataram_RAMDisk_V3.5.130R18.msi and D:DATARAM_RAMDISK_V3.5.130R18.MSI
0000046C: 40 70
0000046D: 02 48
0000046E: 65 AD
0000046F: CF 4E
00000470: F1 9A
00000471: 69 0B
fc /b "Z:Dataram_RAMDisk_V3.5.130R18.msi" "D:Dataram_RAMDisk_V3.5.130R18II.msi"
Comparing files Z:Dataram_RAMDisk_V3.5.130R18.msi and D:DATARAM_RAMDISK_V3.5.130R18II.MSI
0000046D: 02 7C
0000046E: 65 07
0000046F: CF FE
fc /b "Z:Dataram_RAMDisk_V3.5.130R18II.msi" "D:Dataram_RAMDisk_V3.5.130R18.msi"
Comparing files Z:Dataram_RAMDisk_V3.5.130R18II.msi and D:DATARAM_RAMDISK_V3.5.130R18.MSI
0000046C: 40 70
0000046D: 5C 48
0000046E: A9 AD
0000046F: D6 4E
00000470: F1 9A
00000471: 69 0B
fc /b "Z:Dataram_RAMDisk_V3.5.130R18II.msi" "D:Dataram_RAMDisk_V3.5.130R18II.msi"
Comparing files Z:Dataram_RAMDisk_V3.5.130R18II.msi and D:DATARAM_RAMDISK_V3.5.130R18II.MSI
0000046D: 5C 7C
0000046E: A9 07
0000046F: D6 FE
fc /b "D:Dataram_RAMDisk_V3.5.130R18.msi" "D:Dataram_RAMDisk_V3.5.130R18II.msi"
Comparing files D:Dataram_RAMDisk_V3.5.130R18.msi and D:DATARAM_RAMDISK_V3.5.130R18II.MSI
0000046C: 70 40
0000046D: 48 7C
0000046E: AD 07
0000046F: 4E FE
00000470: 9A F1
00000471: 0B 69
So I opened a "cmd.exe" session, and executed the following commands:
Code:
D:
CD "Downloads\Firefox Downloads"
Z:
MD "CMD.EXEDataram_RAMDisk_v3.5.107”
CD "CMD.EXEDataram_RAMDisk_v3.5.107”
Copy D:Dataram_RAMDisk_V3.5.130R18.msi .
Copy D:Dataram_RAMDisk_V3.5.130R18.msi D:Dataram_RAMDisk_V3.5.130R18II.msi
D:
Del Dataram_RAMDisk_V3.5.130R18II.msi
Copy Dataram_RAMDisk_V3.5.130R18.msi Dataram_RAMDisk_V3.5.130R18II.msi
Z:
Copy Z:\Dataram_RAMDisk_v3.5.107\fcDataramRAMDiskDiffs.btm fcDataramRAMDiskDiffs.bat
Code:
fcDataramRAMDiskDiffs
Code:
fc /b "Z:Dataram_RAMDisk_V3.5.130R18.msi" "Z:Dataram_RAMDisk_V3.5.130R18II.msi"
Comparing files Z:Dataram_RAMDisk_V3.5.130R18.msi and Z:DATARAM_RAMDISK_V3.5.130R18II.MSI
FC: no differences encountered
fc /b "Z:Dataram_RAMDisk_V3.5.130R18.msi" "D:Dataram_RAMDisk_V3.5.130R18.msi"
Comparing files Z:Dataram_RAMDisk_V3.5.130R18.msi and D:DATARAM_RAMDISK_V3.5.130R18.MSI
FC: no differences encountered
fc /b "Z:Dataram_RAMDisk_V3.5.130R18.msi" "D:Dataram_RAMDisk_V3.5.130R18II.msi"
Comparing files Z:Dataram_RAMDisk_V3.5.130R18.msi and D:DATARAM_RAMDISK_V3.5.130R18II.MSI
FC: no differences encountered
fc /b "Z:Dataram_RAMDisk_V3.5.130R18II.msi" "D:Dataram_RAMDisk_V3.5.130R18.msi"
Comparing files Z:Dataram_RAMDisk_V3.5.130R18II.msi and D:DATARAM_RAMDISK_V3.5.130R18.MSI
FC: no differences encountered
fc /b "Z:Dataram_RAMDisk_V3.5.130R18II.msi" "D:Dataram_RAMDisk_V3.5.130R18II.msi"
Comparing files Z:Dataram_RAMDisk_V3.5.130R18II.msi and D:DATARAM_RAMDISK_V3.5.130R18II.MSI
FC: no differences encountered
fc /b "D:Dataram_RAMDisk_V3.5.130R18.msi" "D:Dataram_RAMDisk_V3.5.130R18II.msi"
Comparing files D:Dataram_RAMDisk_V3.5.130R18.msi and D:DATARAM_RAMDISK_V3.5.130R18II.MSI
FC: no differences encountered
I don't know that there is much I can add here except to say the last (and possibly only) time I had this problem I'm pretty sure I was also copying ".msi" files...