TPipe /save and /filter

The /save option allows one to save the filter settings defined on the command line to the specified filename, and returns without executing any filters.

So, this;
Code:
tpipe /input=jlckcalc.txt /output=jlckcalc.output /simple=46 /simple=47 /insert=0,1,"rem " /log=jlckcalc.log /save=jlckcalc.pipe
produced the jlckcalc.pipe file;
Code:
{
  "formatName": "TextPipe_FLL",
  "formatVersion": "1.0",
  "trialInput": "",
  "Logging": {
    "expanded": true,
    "enabled": false,
    "filename": "",
    "append": false,
    "threshold": 0,
    "commentFilters": false
  },
  "Files": [
    {
      "filename": "jlckcalc.txt",
      "subfolder": "None",
      "action": "Include"
    }
  ],
  "Filters": {
    "Input": {
      "expanded": true,
      "binaryFiles": 0,
      "inputFromFiles": 1,
      "binarySampleSize": 0,
      "insideCompressed": false,
      "randomSize": 0
    },
    "EOL": {
      "expanded": true,
      "convertFrom": 3,
      "convertTo": 2,
      "fixedLineLength": 0,
      "removeExtraneous": true,
      "convertToText": ""
    },
    "Simple": {
      "expanded": true,
      "filterType": 46
    },
    "Simple": {
      "expanded": true,
      "filterType": 47
    },
    "InsertColumn": {
      "expanded": true,
      "filterType": 0,
      "insertPos": 1,
      "value": "rem "
    },
    "Output": {
      "expanded": true,
      "retainDateTime": false,
      "outputToFile": 2,
      "changeExtension": false,
      "changeBaseDir": false,
      "maintainStructure": false,
      "singleFilename": "jlckcalc.output",
      "append": false,
      "onlyOutputChangedFiles": 1,
      "ignoreStartFolder": false,
      "removeEmpty": true,
      "isPrimary": true
    }
  }
}

From what I read in the help file, I should be able to load jlckcalc.pipe as
Code:
tpipe /filter=jlckcalc.pipe
to run the query, but all I get is
Code:
e:\utils>tpipe /filter=jlckcalc.pipe
The system cannot find the file specified.
"CON:"

What exactly am I doing wrong?

Joe
 
May 20, 2008
11,046
90
Syracuse, NY, USA
I suspect TCC is processing /input and /output and (somehow) using CON: if it doesn't find /input. Even though the saved filter names the two files, it works if you put /input and /output on the command line. Perhaps Rex could make that work better.