Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ShellExecute and pipes - Quoting ">"?

Status
Not open for further replies.

joakley

Technical User
Feb 8, 2002
3
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top