07.02.07 Added: Button bar, start menu: New parameters %S and %s pass list of selected files (long names/short names) to the called program.
Glad to see this new feature.
But I have certain files or folders like "- abc" (begin with "-" and a space). This kind of files or folders can't be passed to the called program successfully.
As weird as they look like, lst2str.exe has no problem with them.
About %S/%s parameters...
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This isn't actually a problem of Total Commander - many programs detect command line strings starting with a dash as a parameter, not as a file name.But I have certain files or folders like "- abc" (begin with "-" and a space). This kind of files or folders can't be passed to the called program successfully.
This is normal, %S passes only the file NAMES to the called program.if u have marked files in c:\temp and the Startpath-Param to D:\temp the files are search in d:\temp and NOT in c:\temp Exclamation dunno if thats a bug???
The solution for both problems is to use %P%S instead of just %S. Total Commander will then pass the complete path and file name to the called program. I assume that you did that with lst2str too, otherwise you would have encountered the same problems.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com