>sed "/^$/d" file >... doesn't look valid at all. eg, why double quote the de-limited >regex's? I never do that.
That would be true on *nix. But when calling a batch file on Win2k (any Win32 OS, I think) you need the quotes. At least I have never been able to get it to work without them. -NB