I need to determine the CDROM drive and this is what i've got sofar. The problem is that if the hosts file is copy/backuped the script wants to copy it from every drive. Any suggestions are welcome.

variables:
$host2k = "%systemroot%\system32\drivers\etc"

Script

$Array=d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
For Each $element In $Array
Shell 'cmd /c copy "$host2k\hosts" "$host2k\hosts.org"' ; backup original hosts file
Shell 'cmd /c copy "$element:\hosts" "$host2k\hosts"' ; implement new hosts file
Next
GoTo end