Implement delToPath() for Prg to remove its folder pattern.