Tip for using TextPipe on several similar projects

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

DFH
Posts: 658
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Tip for using TextPipe on several similar projects

Postby 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: 2164
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Tip for using TextPipe on several similar projects

Postby 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, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: Bing [Bot] and 9 guests