Please add unquote parameters for %N %S and so on.
Posted: 2019-12-17, 01:50 UTC
I am not really familiar with command line, so I met great difficulty in handling quoted and unquoted file name for its inconsistency, like this:
askparam.exe /u"path: %P%N" /t"path: %T%N" /p(e) cmd /k echo %001
askparam is a small tool written by MVV which allows user select predefined option in a GUI for command line tools. TC will automatic adding quote mark when the file name full path has space in it which will break existing /u and /t quote mark, even this tool provide a param like /q"`" to input double quote mark in other character, I can do nothing with TC added quote mark.
If an unquote %N is available, I can use below code to ensure it's properly quoted:
askparam.exe /q"`" /u"path:` %P%N`" /t"path: `%T%N`" /p(e) cmd /k echo %001
askparam.exe /u"path: %P%N" /t"path: %T%N" /p(e) cmd /k echo %001
askparam is a small tool written by MVV which allows user select predefined option in a GUI for command line tools. TC will automatic adding quote mark when the file name full path has space in it which will break existing /u and /t quote mark, even this tool provide a param like /q"`" to input double quote mark in other character, I can do nothing with TC added quote mark.
If an unquote %N is available, I can use below code to ensure it's properly quoted:
askparam.exe /q"`" /u"path:` %P%N`" /t"path: `%T%N`" /p(e) cmd /k echo %001