home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / wp / fed134.zip / EXAMPLE.BAT < prev    next >
DOS Batch File  |  1993-06-24  |  454b  |  22 lines

  1. @echo off
  2. cls
  3. echo.
  4. if exist example.bak copy example.bak example.txt >nul
  5. type example.fed
  6. echo.
  7. echo  The above commands will now be applied to file EXAMPLE.TXT.
  8. echo.
  9. pause
  10. fed example.txt example.fed
  11. echo.
  12. echo  You will now be able to compare the original file 
  13. echo  (EXAMPLE.BAK) with the modified file (EXAMPLE.TXT).
  14. echo.
  15. pause
  16. compare2 example.bak example.txt
  17. copy example.bak example.txt >nul
  18. del example.bak >nul
  19. echo.
  20.  
  21.  
  22.