Hi,
There's a command I use at the DOS prompt which I need to pipe into a text file:
c:\>command > out.txt
I'm trying to do this within an MFC application using ShellExecute, but I seem to be having trouble with the ">" section of the command. I know there's limitations on certain characters, for example, I specify the working directory as "C:\\utils\\". So how should I quote ">" (the greater than char)?
Many thanks in advance for any help. Best wishes,
Jonathan.
There's a command I use at the DOS prompt which I need to pipe into a text file:
c:\>command > out.txt
I'm trying to do this within an MFC application using ShellExecute, but I seem to be having trouble with the ">" section of the command. I know there's limitations on certain characters, for example, I specify the working directory as "C:\\utils\\". So how should I quote ">" (the greater than char)?
Many thanks in advance for any help. Best wishes,
Jonathan.