View Single Post
Old 19th February 2005, 08:54   #2
[NSIS Dev, Mod]
kichik's Avatar
Join Date: Oct 2001
Location: Israel
Posts: 11,343
A carrige return is not what you're looking for. The way you're using it, both the line break and the input itself is part of the executing command line. nsExec, ExecWait and friends do not open a command prompt and start filling it up with data. They use the API behind it.

The dosExec plug-in by Takhir accepts a parameter for input to pass to the executed application, if I remember correctly. That should do the trick for you.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote