is it possible to instruct existing/running instance of TC to change current directory from external (other) application? Equivalent of "Open folder in Explorer"?
Optionally with ability to specify panel (left/right) and whether to create new tab/window
Thanks
"Change directory to" via IPC from other applicatt
Moderators: Hacker, petermad, Stefan2, white
From TC Help
Syntax:
totalcmd.exe [/o] [/n] [Drive1:\Directory1 [Drive2:\Directory2]] [/i=name.ini] [/f=ftpname.ini]
or:
totalcmd.exe [/o] [/n] [/L=Drive1:\Directory1] [/R=Drive2:\Directory2] [/i=name.ini] [/f=ftpname.ini]
Parameters:
Drive:\Directory Loads the first directory passed to Total Commander into the left window, and the second into the right window. Directory names containing spaces must be put in double quotes! Always specify the full path name including the drive! To open a stored FTP connection, use FTPOPEN:stored_ftp_name as path. Also accepts shares in the form \\server\share\subdir or smb://server/share/subdir
/O If Total Commander is already running, activate it and pass the path(s) in the command line to that instance (overrides the settings in the configuration dialog to have multiple windows)
/N Opens in any case a new Total Commander window (overrides the settings in the configuration dialog to allow only one copy of Total Commander at a time)
/L= Set path in left window
/R= Set path right window
/S Interprets the passed dirs as source/target instead of left/right (for usage with /O). For example, a dir passed with /R= will be interpreted as the target dir.
/T Opens the passed dir(s) in new tab(s). Now also works when Total Commander hasn't been open yet.
/P= Sets the active panel at program start: /P=L left, /P=R right. Overrides wincmd.ini option ActiveRight=.