Okay, I'm really embarrassed to have to tell all of you this, but the problem was really simple. Thank you all for trying to help me out.

First of all, the code was fine:

$Drive = "O:" $Path = "\\server2\dp my files"
USE $Drive /Delete
USE $Drive $Path

The problem was that I didn't look at the share name before I started all of this. It is actually a hidden share so all I had to do was add $ to 'files'.

Again, I'm REALLY embarassed, but really impressed by how quickly all of you responded. I am posting another problem, so I hope I get the same positive responses.

Thanks,
Khaunani