Announcement

Collapse
No announcement yet.

Script to compare two specific files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Script to compare two specific files

    I'm trying to create a script to load two specific files from a folder, then generate a couple file-report outputs. The file-report script statements appear to be working - but with nothing (empty files?).

    The DOS command is simple:
    bc2.exe @C:\BC_test.txt /rules=UniBasic
    but what to put in the script itself, or on the command line, or both, to get two files loaded? I'm just not getting it...

    d:^D

  • #2
    Re: Script to compare two specific files

    Never mind, I figured it out. I was working from a misguided perception, thinking I had to somehow LOAD the two files, or LOAD two directories that only contained the two files, or...

    Instead, I finally read the sample script 'Comparing two files by name' close enough to see - the file-report command includes the two files at the end of the command! YAY!

    d:^D

    Comment


    • #3
      Re: Script to compare two specific files

      I'm glad to see you got your script working.

      The CommandLine and Scripting section of the Help file -> Sample Scripts is a great reference point, and often the first place I go.

      Let us know if you encounter any other issues, or have any other questions.
      Aaron P Scooter Software

      Comment

      Working...
      X