TextCrawler Pro 3 Manual

Menu
Index

Command Line Parameters [Pro]

 
TextCrawler has the ability to be called from the Windows command line shell, or a batch (.BAT) file.
 
The following command line parameters are supported:
 

/b [batchfilename.txc]

load batch file

/fn [filename]

specify single file for input

/of [path]

specify output folder

/i [path]

specify input path

/f

start find process automatically  (will use last saved settings, or settings specified in batch file)

/r

start replace process automatically (will use last saved settings, or settings specified in batch file)

/c

close program at end of process

 
 
Notes:
 
 
Examples:
 
Run a batch script in replace mode, closing the program upon completion.
 
TextCrawler.exe /b C:\Data\MyBatch.txc /r /c
 
 
Specifying a single input file and output folder, run a batch script in replace mode, closing the program upon completion.
 
TextCrawler.exe /fn "D:\My Data\convertme.txt" /of "D:\Outputs" /b "D:\BatchFiles\Converter.txc" /r /c
 

Console exit error codes

You can query this using the %ERRORLEVEL% environment variable.
 
0
None
1
Input Settings Error
2
Output Settings Error
3
Invalid Batch File
4
Invalid Input File or Folder
5
Invalid Output File or Folder
6
Cancelled
7
Other Error