folder path paramater for cm_OpenNewTab

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Stiltzkin
Member
Member
Posts: 194
Joined: 2004-09-10, 17:15 UTC

folder path paramater for cm_OpenNewTab

Post 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).
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: folder path paramater for cm_OpenNewTab

Post by *Fla$her »

It's possible to use a chain of commands: cm_OpenNewTab,cd c:\mypath\
Overquoting is evil! 👎
User avatar
Stiltzkin
Member
Member
Posts: 194
Joined: 2004-09-10, 17:15 UTC

Re: folder path paramater for cm_OpenNewTab

Post 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.
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: folder path paramater for cm_OpenNewTab

Post 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%"
Overquoting is evil! 👎
Post Reply