home *** CD-ROM | disk | FTP | other *** search
/ Shareware Supreme Volume 6 #1 / swsii.zip / swsii / 438 / FC10OS2.ZIP / FCMP.DOC < prev   
Encoding:
Text File  |  1993-11-07  |  3.0 KB  |  84 lines

  1.  
  2. FC-MDOS.EXE and FC-OS2.EXE        (c)1993 Hearty Mosquito SoftWare
  3. Version 1.0
  4.  
  5. Hearty Mosquito SoftWare is not responsible for anything.
  6. Use at your own risk.
  7.  
  8. If you like and use this program, send $5 to:
  9.  
  10.        Hearty Mosquito SoftWare
  11.        4216 29th Ave. S.
  12.        Minneapolis, MN 55406
  13.  
  14. -------------------------------------------------------------------------------
  15.  FC-MDOS and FC-OS2
  16.  
  17.  For some reason, IBM declined or neglected to provide a File Compare program
  18. for OS/2's command lines, the OS/2 system command line or OS/2's DOS command
  19. line.
  20.  
  21. There -is- a COMP command, but they are not the same.
  22. Check your MS-DOS manual to see the differences between COMP and FC.
  23.  
  24. The MS-DOS version of FC checks the operating system version before running, and
  25. the copy of FC.EXE that was included with your pre-OS/2 version of DOS.
  26. will probably not run at an OS/2-DOS command line.
  27. FCMP doesn't care what version of what OS you're running.
  28.  
  29. ---------- INSTALLATION: --------------------------------
  30.  
  31. The two executable files are functionally the same. One is for the OS/2 command
  32. line, the other is for the OS/2-DOS command line. Copy them to the appropriate
  33. directory, which in the default OS/2 setup would be:
  34.  
  35. COPY FC-MDOS.EXE C:\OS2\MDOS\FCMP.EXE
  36.  
  37. and
  38.  
  39. COPY FC-OS2.EXE C:\OS2\APPS\FCMP.EXE
  40.  
  41. Now you can just type FCMP at any OS/2 system prompt and you're cooking!
  42.  
  43. ---------- SYNTAX: --------------------------------------
  44.  
  45. FCMP [/B] [/L] [/C] [/N] [filename] [filename]
  46.  
  47. /B Perform a binary comparison.
  48.  
  49.    The default mode if the first filespec has an .EXE, .SYS, .COM, .BIN, .OBJ,
  50.    or .LIB extension.
  51.    Any other extension will be considered text unless this switch is used.
  52.  
  53. /L Compare files as ASCII text.
  54.  
  55.    The default mode, unless the first filespec has an extension of .EXE,
  56.    .SYS, .COM, .BIN, .OBJ, or .LIB.
  57.  
  58. /C Disregard the case of letters in an ASCII comparison.
  59. /N Display line numbers in an ASCII comparison.
  60.  
  61.    These switches are only accepted for text comparisons. They will be ignored
  62.    if the first filespec has an .EXE, .SYS, .COM, .BIN, .OBJ, or .LIB extension,
  63.    or if the /B switch is used.
  64.  
  65. ---------- Other notes: ---------------------------------
  66.  
  67.  Exit codes (errorlevels):
  68.   0 No difference in the files.
  69.   1 Error reading a file -or- 1 difference encountered in the files.
  70.   2-255 All other errorcodes indicate the number of differences found.
  71.         In a text file, the number of lines that were different.
  72.         In a binary file, the number of bytes that differed.
  73.  
  74.  It may be convenient for you to rename FCMP.EXE to FC.EXE, if you are
  75.  accustomed to using the DOS FC command. The syntax is roughly the same.
  76.  
  77.  FCMP does not accept wildcards.
  78.  If you want or need to do wildcards, write us and it can be added.
  79.  
  80.  Unlike the MS-DOS FC.EXE command, FCMP only displays one line at a time in
  81.  ASCII comparison, and -ONLY- that line. It does not display the lines precede
  82.  and follow the lines that are different.
  83.  
  84.