DOS FC command

Microsoft / Dos
January 14, 2010 at 14:12:18
Specs: Windows XP
Can I compare large size files with FC command? my file size runs into GB's. Are there any concern related to result and performance?

See More: DOS FC command

Report •

#1
January 14, 2010 at 17:18:59
Hard to see how you'd have files bigger than the DOS partition size limit of about 2GB.


=====================================
Helping others achieve escape felicity

M2


Report •

#2
January 14, 2010 at 23:57:29
best test, just try it on a couple of huge files. performance is ?, results should be dependable for a simple compare since each file is buffered into a memory window (i ssume). complex compares like BDIFF etc I know naught of.
I made one from scratch and it just uses 100 bytes each of two files as a buffer, zero bells/whistles. inefficient but effective and no memory/filesize issues, just page them in till EOF.

Report •

#3
January 15, 2010 at 16:06:57
I was comparing data for data warehouse application. Huge files will be converted into tables and wanted to validate the data. I have decided to compare the huge files by importing them in SQL 2005. For medium to small size files I am thinking of using FC if I am able to format the output for readability. Thanks anyway for your comments. Let me know if you have faced similar situation.

Report •

Related Solutions

#4
January 16, 2010 at 03:50:12
> Can I compare large size files with FC command? my
> file size runs into GB's.

There's one way to find out. If any command cannot handle a file with a size that is allowed by the OS, we would call this command buggy, and it should be reported. Let us know what you find out, things may start to go wrong after 2Gig+ and 4Gig+

> Are there any concern related to
> result and performance?
>

It will probably be slow ... logically, no ? But since you would probably have a multi-core CPU, this should not be a problem.


Report •

Ask Question