Snippets has posted 5883 posts at DZone. View Full User Profile
In BAT files, an equivalent of a Unix shell's
set foo `bar`
can be accomplished as
set /p foo=<bar.tmp
If you're spoiled by Unix's notion of
true pipes, note that the following:
bar | set /p foo=
does not work.
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...