Under 'nix, if I want to put the output of a command into a shell environment variable, I do this: NOW=$( date -I ) Under 'doze, I have to do this: FOR /F %%I IN ('gdate -I') DO SET NOW=%%I Aren't you glad you use 'nix? Don't you wish everybody did? -- Ben