I'm wondering about how to exclude the file extension with multiscript. (Obviously MultiRename has a switch for this.)
If I use
GetSourceSelectedFileNames or similar, I get a complete name.
I thought about generating a list of files to clipboard without extensions & I thought about renaming using a regex but excluding the extension.
Whilst I can imagine using something like (pdf$|txt$) in the regex to force to an end of name, this is quite restrictive.
It would be nice if there is a way to target the process to the different parts <file>.<ext> to avoid some clashes.
e.g.
I have a pdf which the user has labelled
document(pdf).pdf as the creator has their Windows settings on
exclude showing extensions & uses extra filetype identification signals.
If I run a normal SAR in MS for
pdf I'd lose both elements.
Is there anything like e.g.
GetSourceSelectedFileNamesExcludeExt script function for file name selections?
Or have I not found the way this is done?
EDIT
I am going to try
StrSplit & a $anchor to see if I can target it to the correct regex selected elements... &
PathGetNamePart is one of the things I should be thinking about!