All,

I'm trying to run a shell command to actually do a DIR in a directory and redirect the output into a file, like so:

dir /b c:\kix\*.csv > c:\kix\log.txt

when i execute through RUN or SHELL, just get error code 2. If i cut it down to a simple dir > log.txt still the same problem.

Any ideas, much appreciated. I could do this in a DOS batch file, before launching KIX, but would prefer to do it all within KIX

Thanks

Ash