Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Custom Commands: Cannot Use !* as Prompt Defaults

This is not possible unfortunately.

Also I'm not going to turn the custom command functionality into scripting language :-)
purefusion

Custom Commands: Cannot Use !* as Prompt Defaults

I'm running into some issues with the prompt feature of custom commands. I need to be able to set the filename as the default for a prompt, but no matter what I do, I can't do it. Escaping with \! (for filename) or \!/ (for directory) reads the default as '\' and quotes did the same thing so I'm stuck. Any suggestions?

cp ! !?directory:?"!/"!!?filename:?"!"!

Also I'd like to be able to get the filename and extension separate, so I can just append something to the end of the filename, but before the extension.

Usually I like to append a date/time to the end, so maybe some date/time functionality would be quite useful as well.