Have you tried looking at nmake from AT & T? It comes with their Toolbox stuff and handles your sort of problem. However, though it handles what you want correctly, I have found the occaisonal bug which has caused me to be wary, but give it a try anyway - you may get luck! thf at ferguson