Page 1 of 1

folder path paramater for cm_OpenNewTab

Posted: 2024-12-08, 16:54 UTC
by Stiltzkin
currently cm_OpenNewTab creates a new tab with the same path as the currently active one.

a button to change the path/folder with "cd c:\mypath\" will replace the current tab (if not locked).


so my suggestion would be the option to add a path parameter to cm_OpenNewTab (and the other newtab* commands).

Re: folder path paramater for cm_OpenNewTab

Posted: 2024-12-08, 16:59 UTC
by Fla$her
It's possible to use a chain of commands: cm_OpenNewTab,cd c:\mypath\

Re: folder path paramater for cm_OpenNewTab

Posted: 2024-12-08, 17:24 UTC
by Stiltzkin
Fla$her wrote: 2024-12-08, 16:59 UTC It's possible to use a chain of commands: cm_OpenNewTab,cd c:\mypath\
thanks

quick update:

Code: Select all

cmd: cd
param:  "C:\Temp\%|$DATE:Y-M-D|"
does work

while

Code: Select all

cm_OpenNewTab, cd "C:\Temp\%|$DATE:Y-M-D|"
does not work with this method.

Re: folder path paramater for cm_OpenNewTab

Posted: 2024-12-08, 18:56 UTC
by Fla$her
The entry with "|" applies only to the parameter field. It should be like this: cm_OpenNewTab,cd "C:\Temp\%$DATE:Y-M-D%"