Console Output with new Kix32.exe and Kix32c.exeI'm confused about this.
I have a simple script:
code:
shellcmd "%COMSPEC% /c dir /s /b>%TEMP%\list.txt"
When I call it with the consoleless version of Kix32, it still invokes (for a brief second) a console. This happens if I call it with a /I switch, or if I include the '$=redirectoutput("nul")' line in the file.
I see why, and this is because now there is no console, using %COMSPEC% will envoke a new one, and to redirect output from standard dos commands requires this.
However there are a lot of situations when Kix isn't up to a job and an external command is required (see the dir /s/b for a simple directory listing which KiX can manipulate as an example).
Therefore does anyone know of a way to stop this from happening? It seems pointless having two separate versions of Kix otherwise (as you just fire up KiX, and '$=setconsole("HIDE")') to achieve the same effect.
Any takers?