Deutsch (DE-CH-AT)English (United Kingdom)
With the command line tool Export.exe you can put the stdout output of win32 console programs into CMD.EXE environment variables, which is very useful for batch files

It partly covers the functionality of the tool conset.exe (but export.exe also comes with a 64-bit version) or the linux export - command

Download 64-Bit Version
Download 32-Bit Version

Example: Read the current date from stdout and put it into an environment variable (Attention: use backquotes!).

C:\tmp>export.exe DATEVAR=`date /t` 
C:\tmp>echo %DATEVAR%