I have nothing against these characters being replaced with underscores inside valid characters. I only suggested getting rid of the end ones together with the whitespace ones. I.e. | ? File<Name?.ext*> | > File_Name_.extThis is mainly meant to replace single characters in a name which would otherwise make it impossible to save as a file.
I disagree. The user himself must control quotation marks by specifying them in the parameters, otherwise there may be difficulties with incorrect selection, for example, when one quotation mark is selected or when a string with spaces without quotation marks is selected. That is, if I set the "%CLIPNAME*" parameter, the result may be ""Name"", "" Name "", ""Name", "Name"", "" Name ", " Name "", etc., although there should be only one, "Name". If you set the parameter without quotes, then the following: " File name ", " File name, File name ", not File name. All this will lead to incorrect operation of commands.- quotes can be used to surround a name with spaces
Also keep in mind that %Q doesn't work on pseudovariables.
You can easily control this by checking the beginning of the line for [A-z]:\\. In other cases, the colon can be replaced.- colons are used when specifying a full path.
Statistics: Posted by Fla$her — 2024-11-24, 09:14 UTC