Foldername in dlgstring

I'm working on a command that creates an ISO-image from selected folder. I use dlgstring to enter the filename and want to set the foldername as default text, but I don't get it to work.

Where have you got to so far? i.e. What's the command that you're currently working with that isn't doing what you want?

Hi Leo,

I have something like that:

@Set var_filename = {dlgstringS|Enter filename:|Text}

Instead of "Text" I want the name of the folder previously selected (the command creates an ISO from selected folder and I want to use the foldername for the iso, but also be able to change it if needed).

@Set var_filename = {dlgstringS|Enter filename:|{file}}

Thank you very much, always tried with "$" :slight_smile: