Tip for using TextPipe on several similar projects

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
dfhtextpipe
Posts: 986
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Tip for using TextPipe on several similar projects

Post by dfhtextpipe »

I'm working on several projects with a similar directory structure. The following tip is useful in such a context.

Use the Windows subst command to set the root path for the specified input files and for the output file path.

Assumes:
  • subst i: <inputpath>
    subst o: <outputpath>
In this way, to use a filter unchanged for the next project, all you have to do is change both the substitute drives.

David
David
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Tip for using TextPipe on several similar projects

Post by DataMystic Support »

Hi David,

Another option is to use relative paths, as TextPipe allows paths to be specified relative to the current filter.

You can also embed environment variables in paths, such as

Code: Select all

@ENV_input_path
would insert the value of the environment string 'input_path'
Post Reply