how to pipe standard input in the RUN function?

42 views
Skip to first unread message

old9

unread,
Nov 10, 2009, 10:00:07 AM11/10/09
to hoekey
Hi all

I have a app that reads standard input as input, something like this
in the command line:
c:\>echo "blabla" | c:\path\to\my\app.exe
hello blabla!
c:\>

I want to use hoekey to pass the %s to that app, and I'm stuck on it,
how can I do that?
I've tried
~1=RUN|cmd.exe /c "echo %s | c:\path\to\my\app.exe"

and faild, it looks like the pipe messes them up.
any suggestions?

Thanks!


Reply all
Reply to author
Forward
0 new messages