Does any one know any way to redirect the output of a command line utility (eg "date /t" for WinNT) to an environment variable. I have been able to redirect it to the screen and to a file but not to an environment variable.

Thanks.