- May
- 13,450
- 193
When there are special characters in a file name (in fact, always) file name completion should complete (and quote) file names is such a way that ...
1. If the completed file name is the first token in a command line, then TCC will sucessfully "run" the file.
2. If the completed file name will be passed to an external command (exe) as an argument then that program, if it does nothing to that parameter, will be able to successfully use it in a Win32 API function (e.g., CreateFile/OPEN_EXISTING).
1. If the completed file name is the first token in a command line, then TCC will sucessfully "run" the file.
2. If the completed file name will be passed to an external command (exe) as an argument then that program, if it does nothing to that parameter, will be able to successfully use it in a Win32 API function (e.g., CreateFile/OPEN_EXISTING).