Basically Z got moved to Y. They had mapped Z on the PCs from within windows. I did the 'use z: /delete' but it had no effect - the drive wouldn't disconnect. That's why I added in the shell to the dos net use. It's only temporary.

However, I guess a 'use /delete /persistent' is different than just a 'use /delete'.