Thanks for the response fortunat!
The response you gave was a good one. Unfortunately I can't use this solution because of the situation I'm in...
Looking back on the first post I made, I should have explained my situation a little better.
I work in a large network and I often map as many drives as I have for file replication. Either from my workstation (if its just some small files) or servers everywhere (when they're large files). Then I pull the info from the source servers through mapped drives.
And that's what caused the problem, I have persistent drives on servers so that when I log on they connect to source servers.
The servers, files and directories are everywhere. The files I replicate don't always go in the same directories on all servers. Also, because of slow links I usually keep persistent drives to servers that are geogrphically closer, that way when I log on they are automatically connected to the new source servers that just got the new files.
Anyway, to make a long story short, I looked everywhere for a way to log off these persitent drives on "All" the machines, but all the answers point to only one machine beit a server or a workstation.
I usually do a "net use *: /d" to disconnect the persistent drives on my PC after I'm done, I was hoping there was a way to send out a batch file to all the servers on the network without having to log onto them.
I've asked people this question and no one that I've talked to know of such a script!