5 editing commands, 6 running split from a command line, 1 splitr command line switches – Campbell Scientific LoggerNet Datalogger Support Software User Manual

Page 379: Editing commands -81, Running split from a command line -81, Splitr command line switches -81, Closing the splitr.exe program after, Execution (/r or /q switch) -81, Running splitr in a hidden or minimized, State (/h switch) -81

Advertising
background image

Section 8. Working with Data Files on the PC

8.2.5 Editing Commands

Split supports the Windows Cut, Copy, and Paste commands. Text from any

field in Split or other Windows applications can be Cut, Copied, or Pasted.

8.2.6 Running Split From a Command Line

Existing parameter files can be executed using Splitr.exe which is a “run-time”

version of the Split Report Generator. When Splitr.exe is run, the file is

processed as if the user chose Run | Go from the Split menu. Splitr.exe can be

executed by the Task Master, from a batch file, or from a Windows command

line prompt or shortcut.

8.2.6.1 Splitr Command Line Switches

Splitr has four switches that can be used to control how the executable is run.

8.2.6.1.1 Closing the Splitr.exe Program After Execution (/R or /Q Switch)

Typically when Split is run, after the file is processed the user must close the

Screen Display window. When Splitr.exe is run from a command line, the user

must also close the Screen Display window unless the /R switch is used.

The syntax for this switch is:

SPLITR LOGAN/R

where LOGAN is the parameter file name.

The /R switch should follow immediately after the parameter file name with no

space between the two. If a space is used, the following message will be

displayed “There was a problem opening the input file. File could not be found

or may be in use.”

The /Q switch is similar in function and syntax to /R. However, if Split

encounters an error when processing the file, no message box is displayed that

requires user response (the exceptions are a disk space error or an internal error

with the Split executable). This option should be used with caution, since there

will be no indication of a problem if a file cannot be processed.

8.2.6.1.2 Running Splitr in a Hidden or Minimized State (/H Switch)

Splitr can be run in a minimized state, so that the Screen Display window does

not interrupt other processes on the computer. The syntax for running Splitr

minimized is:

SPLITR /H LOGAN

where LOGAN is the parameter file name.

The /H switch must be positioned after SPLITR but before the parameter file

name, and a space is required between the executable name and the switch.

8-81

Advertising