Check file size via hci command

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Check file size via hci command

  • Creator
    Topic
  • #49407
    john benevento
    Participant

      One of the threads in our lab results process accumulates HL7 data in a file via fileset-Local.  Is there an hci command that determines file size?  I need to write a .bat file to check on file size and rename it before it reaches 64K.

    Viewing 1 reply thread
    • Author
      Replies
      • #61838
        Michael Hertel
        Participant

          You could use an alert to do that.

        • #61839
          Jim Kosloskey
          Participant

            John,

            The Tcl command is file size – where is the file name.

            You could also use the file stat command  – where name is the name of the file and VarName is the array variable which will contain all of the stats related to that file (including the file size).

            Jim Kosloskey

            email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.