Take Command Startup Options

Print Topic  Return to Overview  Previous Topic  Next Topic 

The Take Command command line includes the program name with drive and path, followed by any options.  For example:

 

"c:\program files\jpsoft\tcmd9\tcmd.exe" @c:\tcmd\tcmd.ini

 

There are several Take Command startup options. The complete syntax for the Take Command startup command line is (all on one line):

 

d:\path\tcmd.exe [[/]@d:\path\inifile] [//directive=value...] [/D d:\path] [/N] [/T [d:\path\]program]

 

(Do not include the square brackets shown in the command line above. They are there to indicate that the items within the brackets are optional.)

 

The command line must start with the full Take Command path and executable name (TCMD.EXE):

 

       d:\path\tcmd.exe

 

The additional items below may be included on the command line:

 

       @d:\path\inifile OR

       /@d:\path\inifile

       

This option sets the path and name of the .INI file. You don't need this option if

 

1)your .INI file is named TCMD.INI, and
2)it is in one of the following directories:
2.1)the same directory as Take Command
2.2)the %localappdata% directory

 

       This option is most useful if you want to start the program with a specific and unique .INI file.

 

To start Take Command without any .INI file, you can create an empty file and specify it as your .INI file.

 

To get around a Windows limitation that causes the displayed command line of a shortcut to be truncated when a parameter begins with @, you can use the alternative syntax

 

       /@d:\path\inifile

 

Take Command will skip the leading forward slash.

 

Options:

 

//directive=value

This option tells Take Command to treat the text appearing between the // and the next space or tab as an initialization directive. The directive should be in the same format as a line in TCMD.INI, but may not contain spaces, tabs, or comments. This option may be repeated. It is a convenient way to place a few simple directives on the startup line without having to modify or create a new .INI file.

 

/DStart Folders and List View in the specified directory.

 

/NDon't load TCMD.INI (useful when trying to isolate configuration problems).

 

/TYou can specify the program to start in the first tab with the /T option:

 

d:\path\tcmd.exe /t d:\path\program

 

       If there is already a Take Command session running, /T creates a new tab in the existing Take Command rather than starting a new session.

 

       /T must be the last option on the command line (otherwise Take Command can't tell if additional options belong to Take Command or the program to start in the tab).

 

If you have Startup Tabs defined, Take Command will display them following the tab created by /T.

Topic "take_command_startup_options.htm" last edited 5/12/2008. ©2008  JP Software, Inc.
Keywords: Startup Options (Take Command)