// WinApi::createProcess( // null // , "dir/w > c:\\dirtest.txt"
dir is not a program. You have to invoke it with the command processor. I think it should be something like this:
WinApi::createProcess("cmd.exe",
"/c dir/w > c:\\dirtest.txt",
..
Take care, Søren
Yahoo! Groups Sponsor ADVERTISEMENT
click here
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

