|Well, you're asking in the Win2K3 forum, but list your system as Win7. If you're using Windows 7 and you're using PowerShell, you can use the Tee-Object. |
If you're using Win2K3 and batch, you'll need to download and possibly install a Win32 port of tee.
If you can't use third party tools, you can make a version of tee with VBScript.
If you have an irrational hatred of Window's native scripting language, you'll be forced to append the output file to the other.
dir > write.txt
type write.txt >> append.txt
How To Ask Questions The Smart Way