Angle bracket as a command line parameter

I'm using the ShellExecute function in windows to call an external DOS application. The DOS app accepts some parameters that start with a single angle bracket, such as "app.exe <input.txt >output.txt". I can't for the life of me get ShellExecute to correctly pass the bracket parameters when it calls the DOS exe. The DOS app behaves as if I gave it no parameters or invalid parameters. I can get ShellExecute to work perfectly for other exe's that don't use brackets in their command line parameters. For instance, "notepad.exe c:\test.txt" works fine. It seems to be the angle brackets that are screwing things up. Is there some special treatment for brackets? Thanks.
nice words
Topic archived. No new replies allowed.