#1 - Suffix for Folder from Selected file.
1. Folder Name is '#1'
2. Selected File Name is 'New Name for #1 Folder'
3. Folder name would be like this: '#1New Name for #1 Folder'
Code: Select all
$SelectNumber1Folder = ; // '#1 Folder' don't know how to handle it that I will give it new name. msg $SelectNumber1Folder; // this works good I copied from @highend $copyNameofSelectedFile = gpc(gettoken(<get SelectedItemsPathNames |>, 1, "|"), "base"); msg $copyNameofSelectedFile; // gives correct name
Thanks in advance.