HLPlanet Taditor Manual
Command Line Parameters
Previous Top Next

This topic describes parameters that can be used when starting Taditor from command line.
      
Starting command line
In order to use these parameters open "Run" Start Menu command and enter the following command:

Windows 2000, XP, 2003:
"cmd.exe"

Windows 9x, Me:
"command.com"

After this change working directory to drive and path where Taditor is installed, for example:

C:
cd "C:\Program Files\HLPlanet\Taditor"

After this you can start Taditor using command-line parameters, for example:

Taditor.exe /e:AboutApp.esf

Parameters

General rules
Parameters containing spaces that should be treated as a single parameter have
to be enclosed by quote character '"'. Optional parameters are described with "[]",
required parts are specified using "{}".

Syntax:
taditor.exe [option_set] [file1] [file2] [file3]...

In any case specified files - file1, file2, file3 will be open on the start of
the editor.

General options
/? - show command-line help
  Example:
    taditor.exe /?

/dp - delete private data (history of commands, etc.)
  Example:
    taditor.exe /dp

/ds - restore factory settings (environment, window settings)
  Example:
    taditor.exe /ds

/p - print file and quit
  Example:
    taditor.exe /p c:\temp\test.txt

/w:{name} - use specified workspace
  Example:
    taditor.exe /w:test

/reb - use Regular Expression Library ver. B (not recommended)
  Example:
    taditor.exe /reb

/beta - activate beta mode - beta-only features are accessible
  Example:
    taditor.exe /beta

/nis - disable instance check
  Example:
    taditor.exe /nis

Script options
/e:{name} - execute script on start; script execution order is from left to right
  Example:
    taditor.exe /e:AboutApp.esf

Note: to use long paths for scripts use single quotation marks (') as in the following example:
  Example:
    taditor.exe "/e:'C:\Program Files\HLPlanet Taditor\Scripts\AboutApp.esf'"

/e:{name parameters} - execute script with parameters
  Example 1:
    taditor.exe "/e:script.esf test"
  Example 2:
    taditor.exe "/e:'C:\Program Files\HLPlanet Taditor\Scripts\script.esf' test"

/b - batch mode (no dialog windows, minimized, any error terminates)
  Example:
    taditor.exe /b "/e:c:\temp files\script.esf"

Option files
/@{file_name} - load command line options from ANSI file
  Example:
    taditor.exe "/@:c:\program files\taditor\options\my_options.txt"

/@8:{file_name} - load command line options from UTF-8 file
  Example:
    taditor.exe "/@8:c:\program files\taditor\options\my_options8.txt"

© 2004-2007 HLPlanet. All rights reserved.