Allow combine an internal command and "cd directory" for a button
Posted: 2020-09-04, 20:37 UTC
The feature I would like to request isn't well documented, so if I misunderstood something, my apologies.
This problem occurs when you attempt to use some commands in a sequence for a toolbar button. Apparently, the internal commands can be input with comma divider without limitation, but not all commands with parameters. Let's look at very simple case: we need to select the right TC panel and change its directory to c:\windows. We can call the button dialog and input two these commands in a row with comma divider. But unfortunately, the command line
cm_FocusRight,cd c:\Windows\
doesn't work. It shows an error "File not found! (below is our command line) The system cannot find the file specified." Adding quotes to path or to whole cd... command, as it usually needs for Windows paths, doesn't help. Apparently current TC logic doesn't permit using the cd command in a sequence and, when "cd" is detected, TC attempts to use the whole command line as an argument.
Can this problem be resolved and logic improved?
This problem occurs when you attempt to use some commands in a sequence for a toolbar button. Apparently, the internal commands can be input with comma divider without limitation, but not all commands with parameters. Let's look at very simple case: we need to select the right TC panel and change its directory to c:\windows. We can call the button dialog and input two these commands in a row with comma divider. But unfortunately, the command line
cm_FocusRight,cd c:\Windows\
doesn't work. It shows an error "File not found! (below is our command line) The system cannot find the file specified." Adding quotes to path or to whole cd... command, as it usually needs for Windows paths, doesn't help. Apparently current TC logic doesn't permit using the cd command in a sequence and, when "cd" is detected, TC attempts to use the whole command line as an argument.
Can this problem be resolved and logic improved?