I saw it here:
cimg_snprintf(st_path,sizeof(st_path),"D:\\IMAGEM~1.%d\\VISUA~1\\BIN\\convert.exe",k);
I saw it here:
cimg_snprintf(st_path,sizeof(st_path),"D:\\IMAGEM~1.%d\\VISUA~1\\BIN\\convert.exe",k);
It's the short (8.3) name of the folder.
In the "old days" DOS file names used to be limited to 12 characters - 8 for the name + dot + 3 for the extension. When Windows was extended to handle long names this old format still existed and the long name was truncated to fit behind the scenes. It's this that you're seeing.
If the file name needs to be truncated then it gets truncated to 6 characters and "~1" appended. If there's already a file/folder of that name it increments the number until it finds one that doesn't exist - hence "~2" or "~3".
Sometimes it will be used to keep the overall length of a path down to as short as possible, or if the code needs to ensure that there aren't any spaces in the path.
If it's convert.exe, it's probably ImageMagick.
As above, this is the 8.3 compatibility version of the filename (which you can see with dir /X
) and is often used to construct a pathname without spaces where they might cause problems.