do wmake tests more portable
use wmake internal commads for file manipulation