Tip for using TextPipe on several similar projects

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Post Reply
DFH
Posts: 955
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Tip for using TextPipe on several similar projects

Post by DFH » Sat Oct 29, 2011 1:12 am

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

User avatar
DataMystic Support
Site Admin
Posts: 2203
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 » Wed Nov 02, 2011 9:08 am

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'
Regards,

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads

Post Reply